Class ListOrSpaceSeparated
A wrapper for yaml types that are serialized either as lists or as space separated values.
Inherited Members
Namespace: Cognite.Common
Assembly: Cognite.Common.dll
Syntax
public class ListOrSpaceSeparated
Constructors
| Edit this page View SourceListOrSpaceSeparated(params string[])
Constructor
Declaration
public ListOrSpaceSeparated(params string[] values)
Parameters
Type | Name | Description |
---|---|---|
string[] | values | List of values, will always be serialized as a list |
Properties
| Edit this page View SourceValues
Inner values
Declaration
public string[] Values { get; }
Property Value
Type | Description |
---|---|
string[] |
Operators
| Edit this page View Sourceimplicit operator string[](ListOrSpaceSeparated)
Explicit conversion to string array
Declaration
public static implicit operator string[](ListOrSpaceSeparated list)
Parameters
Type | Name | Description |
---|---|---|
ListOrSpaceSeparated | list | List of values |
Returns
Type | Description |
---|---|
string[] |