Show / Hide Table of Contents

Class ListOrSpaceSeparated

A wrapper for yaml types that are serialized either as lists or as space separated values.

Inheritance
object
ListOrSpaceSeparated
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cognite.Common
Assembly: Cognite.Common.dll
Syntax
public class ListOrSpaceSeparated

Constructors

| Edit this page View Source

ListOrSpaceSeparated(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 Source

Values

Inner values

Declaration
public string[] Values { get; }
Property Value
Type Description
string[]

Operators

| Edit this page View Source

implicit 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[]

Extension Methods

DataModelUtils.GetOrCreateResourcesAsync<T, T2>(T2, IEnumerable<InstanceIdentifier>, Func<IEnumerable<InstanceIdentifier>, IEnumerable<SourcedNodeWrite<T>>>, Func<IEnumerable<SourcedNodeWrite<T>>, SanitationMode, (IEnumerable<SourcedNodeWrite<T>>, IEnumerable<CogniteError<SourcedNodeWrite<T>>>)>, int, int, RetryMode, SanitationMode, CancellationToken)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX