Skip to content

CaseAttribute Constructors

Assigns a case identifier to a direct subtype of a closed type which has GenerateSerializerAttribute applied.

CaseAttribute(uint)

View source
public CaseAttribute(uint id)
Initializes a new instance of the CaseAttribute class.

Parameters

iduint
The case identifier, which is unique among the direct subtypes of the closed base type.