Skip to content

Collection

Namespace Nfty.Core.Model in assembly Nfty.Ticket.

public record Collection

The collection's marketplace-facing identity, copied into every asset's metadata.

Constructors

Collection(string, string, string)

public Collection(string Name, string Description, string Symbol);

Parameters

  • Name (string) - Collection name, e.g. "VaporPets".
  • Description (string) - Prose shown alongside it.
  • Symbol (string) - Short ticker-style code, e.g. "VPET".

Properties

Description

public string Description { get; init; }

Prose shown alongside it.

Name

public string Name { get; init; }

Collection name, e.g. "VaporPets".

Symbol

public string Symbol { get; init; }

Short ticker-style code, e.g. "VPET".