Show / Hide Table of Contents

Class IClassManagerExtensions

Extension methods for IClassManager.

Inheritance
object
IClassManagerExtensions
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.dll
Syntax
public static class IClassManagerExtensions

Methods

View Source

AddProperties<T>(IClassManager, params string[])

Adds properties to retrieve for the given type.

Declaration
public static void AddProperties<T>(this IClassManager self, params string[] propertyNames)
Parameters
Type Name Description
IClassManager self

The class manager being extended.

string[] propertyNames

The properties to retrieve.

Type Parameters
Name Description
T

The game object type.

View Source

SetBaseClass(IClassManager, string?, IEnumerable<IGameObject>)

Sets the base class name for an enumerable of game objects.

Declaration
public static bool SetBaseClass(this IClassManager self, string? className, IEnumerable<IGameObject> objects)
Parameters
Type Name Description
IClassManager self

The class manager being extended.

string className

The base class name.

IEnumerable<IGameObject> objects

The game objects.

Returns
Type Description
bool

True if any subclasses were previously unknown.

View Source

SetBaseClass(IClassManager, string, IEnumerable<string>)

Sets the base class name for an enumerable of subclasses.

Declaration
public static bool SetBaseClass(this IClassManager self, string className, IEnumerable<string> subclasses)
Parameters
Type Name Description
IClassManager self

The class manager being extended.

string className

The base class name.

IEnumerable<string> subclasses

The subclass names.

Returns
Type Description
bool

True if any subclasses were previously unknown.

View Source

SetBaseClass<T>(IClassManager, params string[])

Sets the base class name for an enumerable of subclasses.

Declaration
public static bool SetBaseClass<T>(this IClassManager self, params string[] subclasses)
Parameters
Type Name Description
IClassManager self

The class manager being extended.

string[] subclasses

The subclass names.

Returns
Type Description
bool

True if any subclasses were previously unknown.

Type Parameters
Name Description
T

The base class type.

  • View Source
In this article
Back to top Generated by DocFX