Tournament Docs Tournament Docs
Tournament Docs Tournament Docs

Search Results for

    Edit this page

    Class Player

    Represents a player participating in tournaments.

    Inheritance
    object
    Player
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tournaments.Shared.Models
    Assembly: Tournaments.Shared.dll
    Syntax
    public class Player

    Properties

    | Edit this page View Source

    Age

    Gets or sets the age of the player.

    Declaration
    [Range(1, 200)]
    public int Age { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Gamertag

    Gets or sets the unique gamertag of the player.

    Declaration
    [Key]
    public required string Gamertag { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Name

    Gets or sets the name of the player.

    Declaration
    public required string Name { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Registrations

    Gets or sets the registrations of the player.

    Declaration
    [JsonIgnore]
    public ICollection<Registration> Registrations { get; set; }
    Property Value
    Type Description
    ICollection<Registration>