Class Player
Represents a player participating in tournaments.
Inherited Members
Namespace: Tournaments.Shared.Models
Assembly: Tournaments.Shared.dll
Syntax
public class Player
Properties
| Edit this page View SourceAge
Gets or sets the age of the player.
Declaration
[Range(1, 200)]
public int Age { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Gamertag
Gets or sets the unique gamertag of the player.
Declaration
[Key]
public required string Gamertag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Gets or sets the name of the player.
Declaration
public required string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Registrations
Gets or sets the registrations of the player.
Declaration
[JsonIgnore]
public ICollection<Registration> Registrations { get; set; }
Property Value
| Type | Description |
|---|---|
| ICollection<Registration> |