Class FakeManagedGameObjectWithCustomPropertyName
A class representing a fake game object.
Inheritance
FakeManagedGameObjectWithCustomPropertyName
Inherited Members
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 SourceFakeManagedGameObjectWithCustomPropertyName(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 SourceFoo
Declaration
[GameProperty(new string[] { "Baz" })]
public string? Foo { get; set; }
Property Value
Type | Description |
---|---|
string |