Class GamePropertyAttribute
An attribute used to register game properties with the class manager.
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Generic
Assembly: GameStateTracker.Generic.Abstractions.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Property, AllowMultiple = true)]
public sealed class GamePropertyAttribute : Attribute
Remarks
Initializes a new instance of the GamePropertyAttribute class.
Constructors
View SourceGamePropertyAttribute(params string[])
An attribute used to register game properties with the class manager.
Declaration
public GamePropertyAttribute(params string[] propertyNames)
Parameters
Type | Name | Description |
---|---|---|
string[] | propertyNames | The game property names. |
Remarks
Initializes a new instance of the GamePropertyAttribute class.
Properties
View SourcePropertyNames
Gets a read-only collection of game properties.
Declaration
public IReadOnlyCollection<string> PropertyNames { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<string> |