ForgeDocs
Documentation for the forge framework
|
Provides a convenient and efficient way to access a type of Data. More...
Public Member Functions | |
DataAccessor (Data.IData data) | |
Helper constructor for DataAccessor(Type). This merely forwards the call with the type parameter being data.GetType(). More... | |
DataAccessor (Type dataType) | |
Creates a new DataAccessor that accesses the specified Data type. More... | |
override bool | Equals (Object obj) |
Indicates whether this instance and a specified object are equal. More... | |
override int | GetHashCode () |
Returns a hash code for this instance. More... | |
Static Public Member Functions | |
static bool | operator== (DataAccessor x, DataAccessor y) |
Indicates whether this instance and a specified object are equal. More... | |
static bool | operator!= (DataAccessor x, DataAccessor y) |
Indicates whether this instance and a specified object are not equal. More... | |
Public Attributes | |
readonly int | Id |
Returns the mapped id for this accessor. More... | |
Properties | |
Type | DataType [get] |
Helper method to get the type of data that this given DataAccessor maps back to. More... | |
Provides a convenient and efficient way to access a type of Data.
Forge.Entities.DataAccessor.DataAccessor | ( | Data.IData | data | ) |
Helper constructor for DataAccessor(Type). This merely forwards the call with the type parameter being data.GetType().
Forge.Entities.DataAccessor.DataAccessor | ( | Type | dataType | ) |
Creates a new DataAccessor that accesses the specified Data type.
dataType | The type of Data to retrieve; note that this parameter must be a subtype of Data |
override bool Forge.Entities.DataAccessor.Equals | ( | Object | obj | ) |
Indicates whether this instance and a specified object are equal.
override int Forge.Entities.DataAccessor.GetHashCode | ( | ) |
Returns a hash code for this instance.
|
static |
Indicates whether this instance and a specified object are not equal.
|
static |
Indicates whether this instance and a specified object are equal.
readonly int Forge.Entities.DataAccessor.Id |
Returns the mapped id for this accessor.
|
get |
Helper method to get the type of data that this given DataAccessor maps back to.