Show / Hide Table of Contents

Class IClassDataProviderExtensions

Extension methods for IClassDataProvider.

Inheritance
object
IClassDataProviderExtensions
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 IClassDataProviderExtensions

Methods

View Source

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

View Source

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.

View Source

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.

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