Show / Hide Table of Contents

Class FakeManagedGameObjectWithCustomPropertyName

A class representing a fake game object.

Inheritance
object
ManagedGameObjectBase
ManagedGameObject
FakeManagedGameObjectWithCustomPropertyName
Implements
IGameObject
INotifyPropertyChanged
Inherited Members
ManagedGameObject.GetInstanceProperty(string)
ManagedGameObjectBase.PropertyChanged
ManagedGameObjectBase.Info
ManagedGameObjectBase.GameState
ManagedGameObjectBase.Properties
ManagedGameObjectBase.AdditionalData
ManagedGameObjectBase.this[string]
ManagedGameObjectBase.ToString()
ManagedGameObjectBase.SetInstanceProperty(string, object)
ManagedGameObjectBase.ConvertInstancePropertyValue(PropertyInfo, object)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Microsoft.XboxStudios.GameStateTracker.Tests.Fakes
Assembly: GameStateTracker.TestFakes.dll
Syntax
[GameClass("Foobar")]
public class FakeManagedGameObjectWithCustomPropertyName : ManagedGameObject, IGameObject, INotifyPropertyChanged
Remarks

Initializes a new instance of the FakeManagedGameObjectWithCustomPropertyName class.

Constructors

View Source

FakeManagedGameObjectWithCustomPropertyName(IGameObject)

A class representing a fake game object.

Declaration
public FakeManagedGameObjectWithCustomPropertyName(IGameObject gameObject)
Parameters
Type Name Description
IGameObject gameObject

The game object to encapsulate.

Remarks

Initializes a new instance of the FakeManagedGameObjectWithCustomPropertyName class.

Properties

View Source

Foo

Declaration
[GameProperty(new string[] { "Baz" })]
public string? Foo { get; set; }
Property Value
Type Description
string

Implements

IGameObject
INotifyPropertyChanged

Extension Methods

IGameObjectExtensions.ClassName(IGameObject)
IGameObjectExtensions.InfoEquals(IGameObject, IGameObject?)
IGameObjectExtensions.InfoEquals(IGameObject, in ObjectInfo)
IGameObjectExtensions.ObjectName(IGameObject)
IGameObjectExtensions.Matches(IGameObject, IClassManager, in ObjectInfo)
  • View Source
In this article
Back to top Generated by DocFX