Table of Contents

Class StudioLaunchOptions

Namespace
Cress.Studio.Launcher
Assembly
Cress.Studio.Launcher.dll
public sealed record StudioLaunchOptions : IEquatable<StudioLaunchOptions>
Inheritance
StudioLaunchOptions
Implements
Inherited Members

Constructors

StudioLaunchOptions(StudioLaunchMode, string?, int?, bool)

public StudioLaunchOptions(StudioLaunchMode Mode, string? WebRootPath, int? Port, bool LaunchBrowserClient)

Parameters

Mode StudioLaunchMode
WebRootPath string
Port int?
LaunchBrowserClient bool

Properties

LaunchBrowserClient

public bool LaunchBrowserClient { get; init; }

Property Value

bool

Mode

public StudioLaunchMode Mode { get; init; }

Property Value

StudioLaunchMode

Port

public int? Port { get; init; }

Property Value

int?

WebRootPath

public string? WebRootPath { get; init; }

Property Value

string

Methods

GetUsage(string)

public static string GetUsage(string commandName)

Parameters

commandName string

Returns

string

Parse(IReadOnlyList<string>)

public static StudioLaunchOptions Parse(IReadOnlyList<string> args)

Parameters

args IReadOnlyList<string>

Returns

StudioLaunchOptions