Struct SshConfigOptionValue
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
valuesIEnumerable<string>The values.
SshConfigOptionValue(string)
Creates a value from a single string.
public SshConfigOptionValue(string value)
Parameters
valuestringThe value.
Properties
FirstValue
Gets the first value.
public string? FirstValue { get; }
Property Value
IsEmpty
Gets whether the value is empty.
public bool IsEmpty { get; }
Property Value
IsSingleValue
Gets whether the value contains a single string.
public bool IsSingleValue { get; }
Property Value
Values
Gets all values.
public IEnumerable<string> Values { get; }
Property Value
Operators
implicit operator SshConfigOptionValue(string)
Implicitly converts a string to an SshConfigOptionValue.
public static implicit operator SshConfigOptionValue(string value)
Parameters
valuestringThe value.