Class Optional
Represents a resource that includes an 'Empty' state to discourage referencing a null value.
Namespace: Unity.DigitalTwins.Live.Sdk.Utilities
Assembly: solution.dll
Syntax
public class Optional
Constructors
Optional()
Declaration
protected Optional()
Optional(Object)
Declaration
protected Optional(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | value |
Fields
m_IsEmpty
Declaration
protected readonly bool m_IsEmpty
Field Value
| Type | Description |
|---|---|
| Boolean |
m_Value
Declaration
protected readonly object m_Value
Field Value
| Type | Description |
|---|---|
| Object |