Struct SubjectReferenceType
Enum representing the subject type of a subject reference image.
[JsonConverter(typeof(SubjectReferenceTypeConverter))]
public readonly record struct SubjectReferenceType : IEquatable<SubjectReferenceType>
- Implements
- Inherited Members
Properties
AllValues
public static IReadOnlyList<SubjectReferenceType> AllValues { get; }
Property Value
SubjectTypeAnimal
public static SubjectReferenceType SubjectTypeAnimal { get; }
Property Value
SubjectTypeDefault
public static SubjectReferenceType SubjectTypeDefault { get; }
Property Value
SubjectTypePerson
public static SubjectReferenceType SubjectTypePerson { get; }
Property Value
SubjectTypeProduct
public static SubjectReferenceType SubjectTypeProduct { get; }
Property Value
Value
public string Value { get; }
Property Value
Methods
Equals(SubjectReferenceType)
public bool Equals(SubjectReferenceType other)
Parameters
otherSubjectReferenceType
Returns
FromString(string)
public static SubjectReferenceType FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator SubjectReferenceType(string)
public static implicit operator SubjectReferenceType(string value)
Parameters
valuestring