Show / Hide Table of Contents

Class DataContractClassDataProvider

An provider of game class names and properties which uses DataContracts.

Inheritance
object
DataContractClassDataProvider
Implements
IClassDataProvider
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.GameStateTracker.Generic
Assembly: GameStateTracker.Generic.DataContract.dll
Syntax
public class DataContractClassDataProvider : IClassDataProvider

Methods

View Source

GetBaseClassNames(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.

View Source

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.

Implements

IClassDataProvider

Extension Methods

IClassDataProviderExtensions.GetBaseClassName(IClassDataProvider, Type)
IClassDataProviderExtensions.GetBaseClassNames(IClassDataProvider, Type)
IClassDataProviderExtensions.GetProperties(IClassDataProvider, Type)
  • View Source
In this article
Back to top Generated by DocFX