Interface IPropertyManager
An interface for associating classes with property names.
Namespace: Microsoft.XboxStudios.GameStateTracker.Generic
Assembly: GameStateTracker.Generic.Abstractions.dll
Syntax
public interface IPropertyManager
Methods
View SourceAddProperties(string, Type, params string[])
Adds properties to retrieve for the given class name or pattern.
Declaration
void AddProperties(string classPattern, Type type, params string[] propertyNames)
Parameters
| Type | Name | Description |
|---|---|---|
| string | classPattern | The game object class name, which may include wildcards with the '*' character. |
| Type | type | The type to convert the game object to. |
| string[] | propertyNames | The properties to retrieve. |
GetProperties(string?)
Gets the properties to retrieve for the given class name.
Declaration
IEnumerable<string> GetProperties(string? className)
Parameters
| Type | Name | Description |
|---|---|---|
| string | className | The game object class name. |
Returns
| Type | Description |
|---|---|
| IEnumerable<string> | An enumeration of properties to retrieve. |