Table of Contents

Struct SshConfigOptionValue

Namespace
Tmds.Ssh
Assembly
Tmds.Ssh.dll

Value for an SshConfigOption.

public readonly struct SshConfigOptionValue
Inherited Members

Constructors

SshConfigOptionValue(IEnumerable<string>)

Creates a value from multiple strings.

public SshConfigOptionValue(IEnumerable<string> values)

Parameters

values IEnumerable<string>

The values.

SshConfigOptionValue(string)

Creates a value from a single string.

public SshConfigOptionValue(string value)

Parameters

value string

The value.

Properties

FirstValue

Gets the first value.

public string? FirstValue { get; }

Property Value

string

IsEmpty

Gets whether the value is empty.

public bool IsEmpty { get; }

Property Value

bool

IsSingleValue

Gets whether the value contains a single string.

public bool IsSingleValue { get; }

Property Value

bool

Values

Gets all values.

public IEnumerable<string> Values { get; }

Property Value

IEnumerable<string>

Operators

implicit operator SshConfigOptionValue(string)

Implicitly converts a string to an SshConfigOptionValue.

public static implicit operator SshConfigOptionValue(string value)

Parameters

value string

The value.

Returns

SshConfigOptionValue