Struct FaceData<ContainedData>
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Syntax
[Serializable]
public struct FaceData<ContainedData>
Type Parameters
Name |
Description |
ContainedData |
|
Fields
back
Declaration
public ContainedData back
Field Value
Type |
Description |
ContainedData |
|
down
Declaration
public ContainedData down
Field Value
Type |
Description |
ContainedData |
|
forward
Declaration
public ContainedData forward
Field Value
Type |
Description |
ContainedData |
|
left
Declaration
public ContainedData left
Field Value
Type |
Description |
ContainedData |
|
right
Declaration
public ContainedData right
Field Value
Type |
Description |
ContainedData |
|
up
Declaration
Field Value
Type |
Description |
ContainedData |
|
Properties
Item[Face]
Declaration
public ContainedData this[Face face] { get; set; }
Parameters
Type |
Name |
Description |
Face |
face |
|
Property Value
Type |
Description |
ContainedData |
|
Methods
Create(Func<ContainedData>)
Declaration
public static FaceData<ContainedData> Create(Func<ContainedData> creator)
Parameters
Type |
Name |
Description |
System.Func<ContainedData> |
creator |
|
Returns
Type |
Description |
FaceData<ContainedData> |
|
Create<InitType>(Func<InitType, ContainedData>, InitType, InitType, InitType, InitType, InitType, InitType)
Declaration
public static FaceData<ContainedData> Create<InitType>(Func<InitType, ContainedData> converter, InitType northInit, InitType eastInit, InitType southInit, InitType westInit, InitType upInit, InitType downInit)
Parameters
Type |
Name |
Description |
System.Func<InitType, ContainedData> |
converter |
|
InitType |
northInit |
|
InitType |
eastInit |
|
InitType |
southInit |
|
InitType |
westInit |
|
InitType |
upInit |
|
InitType |
downInit |
|
Returns
Type |
Description |
FaceData<ContainedData> |
|
Type Parameters
Name |
Description |
InitType |
|
Create<InitType>(Func<InitType, ContainedData>, FaceData<InitType>)
Declaration
public static FaceData<ContainedData> Create<InitType>(Func<InitType, ContainedData> converter, FaceData<InitType> source)
Parameters
Type |
Name |
Description |
System.Func<InitType, ContainedData> |
converter |
|
FaceData<InitType> |
source |
|
Returns
Type |
Description |
FaceData<ContainedData> |
|
Type Parameters
Name |
Description |
InitType |
|
GetFace(Face)
Declaration
public ContainedData GetFace(Face face)
Parameters
Type |
Name |
Description |
Face |
face |
|
Returns
Type |
Description |
ContainedData |
|
SetFace(Face, ContainedData)
Declaration
public void SetFace(Face face, ContainedData newValue)
Parameters
Type |
Name |
Description |
Face |
face |
|
ContainedData |
newValue |
|