Class VariantsManager.Switch<T>
Inheritance
System.Object
VariantsManager.Switch<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PiXYZ.Import
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public abstract class Switch<T> : VariantsManager.Switch
Type Parameters
Name | Description |
---|---|
T |
Constructors
Switch(String)
Declaration
protected Switch(string n)
Parameters
Type | Name | Description |
---|---|---|
System.String | n |
Fields
name
Declaration
public string name
Field Value
Type | Description |
---|---|
System.String |
state
Declaration
protected T state
Field Value
Type | Description |
---|---|
T |
variants
Declaration
public List<T> variants
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<T> |
Methods
getState()
Returns the currently selected variant
Declaration
public T getState()
Returns
Type | Description |
---|---|
T |
getVariants()
Returns the variants handled by the switch
Declaration
public List<T> getVariants()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<T> |