Class IClassDataProviderExtensions
Extension methods for IClassDataProvider.
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Generic
Assembly: GameStateTracker.Generic.dll
Syntax
public static class IClassDataProviderExtensions
Methods
View SourceGetBaseClassName(IClassDataProvider, Type)
Gets the base class name for game objects associated with the type.
Declaration
public static string? GetBaseClassName(this IClassDataProvider self, Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| IClassDataProvider | self | The object being extended. |
| Type | type | The type. |
Returns
| Type | Description |
|---|---|
| string | The base class name. |
GetBaseClassNames(IClassDataProvider, Type)
Gets the base class names for game objects associated with the type.
Declaration
public static IEnumerable<string> GetBaseClassNames(this IClassDataProvider self, Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| IClassDataProvider | self | The object being extended. |
| Type | type | The type. |
Returns
| Type | Description |
|---|---|
| IEnumerable<string> | An enumerable of base class names. |
GetProperties(IClassDataProvider, Type)
Gets the properties to retrieve for the given type.
Declaration
public static IEnumerable<string> GetProperties(this IClassDataProvider self, Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| IClassDataProvider | self | The object being extended. |
| Type | type | The game object type. |
Returns
| Type | Description |
|---|---|
| IEnumerable<string> | An enumeration of properties to retrieve. |