Class DataContractClassDataProvider
An provider of game class names and properties which uses DataContracts.
Implements
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Generic
Assembly: GameStateTracker.Generic.DataContract.dll
Syntax
public class DataContractClassDataProvider : IClassDataProvider
Methods
View SourceGetBaseClassNames(TypeInfo)
Gets the base class names for game objects associated with the type.
Declaration
public IEnumerable<string> GetBaseClassNames(TypeInfo typeInfo)
Parameters
Type | Name | Description |
---|---|---|
TypeInfo | typeInfo | The type info. |
Returns
Type | Description |
---|---|
IEnumerable<string> | An enumerable of base class names. |
GetProperties(TypeInfo)
Gets the properties to retrieve for the given type.
Declaration
public static IEnumerable<string> GetProperties(TypeInfo typeInfo)
Parameters
Type | Name | Description |
---|---|---|
TypeInfo | typeInfo | The game object type info. |
Returns
Type | Description |
---|---|
IEnumerable<string> | An enumeration of properties to retrieve. |