Show / Hide Table of Contents

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 Source

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

View Source

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.

Extension Methods

IPropertyManagerExtensions.GetProperties(IPropertyManager, IEnumerable<IGameObject>?)
IPropertyManagerExtensions.GetProperties(IPropertyManager, IEnumerable<string?>)
  • View Source
In this article
Back to top Generated by DocFX