Class Unit<T>
A 1-tuple.
Inheritance
System.Object
Unit<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class Unit<T>
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 |