Class PileInstances
Provides a central multiton interface for mapping PileID -> pile instance. This class is thread-safe. This class is used by system code and should not be used by business developers
Inheritance
System.Object
PileInstances
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.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.ApplicationModel.Pile
Assembly: NFX.dll
Syntax
public class PileInstances
Methods
_____Register(IPile)
Internal method used by IPile implementation, business logic developers do not call
Declaration
public static bool _____Register(IPile instance)
Parameters
Type | Name | Description |
---|---|---|
IPile | instance |
Returns
Type | Description |
---|---|
System.Boolean |
_____Unregister(IPile)
Internal method used by IPile implementation, business logic developers do not call
Declaration
public static bool _____Unregister(IPile instance)
Parameters
Type | Name | Description |
---|---|---|
IPile | instance |
Returns
Type | Description |
---|---|
System.Boolean |
Map(Int32)
Maps pileID to IPile intsance or null if not found
Declaration
public static IPile Map(int pileID)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pileID |
Returns
Type | Description |
---|---|
IPile |