Beispiel #1
0
 public static bool IsRequiredReference(this ContextualTypeModelClassification flags)
 => flags.HasFlag(ContextualTypeModelClassification.ReferenceType | ContextualTypeModelClassification.Required);
Beispiel #2
0
 public static bool IsOptionalReference(this ContextualTypeModelClassification flags)
 => flags.HasFlag(ContextualTypeModelClassification.ReferenceType | ContextualTypeModelClassification.Optional);
Beispiel #3
0
 public static bool IsOptionalValue(this ContextualTypeModelClassification flags)
 => flags.HasFlag(ContextualTypeModelClassification.ValueType | ContextualTypeModelClassification.Optional);