Class Unit<T>
A 1-tuple.
Inheritance
System.Object
Unit<T>
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class Unit<T> : object
Type Parameters
| Name | Description |
|---|---|
| T | Type the tuple holds. |
Constructors
Unit(T)
Initializes a new instance of the Unit<T> class.
Declaration
public Unit(T item)
Parameters
| Type | Name | Description |
|---|---|---|
| T | item | The item to hold. |
Properties
Item
Gets the item in the tuple.
Declaration
public T Item { get; }
Property Value
| Type | Description |
|---|---|
| T |