Class CausationType
Represents a causation type.
public record CausationType : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<CausationType>
- Inheritance
-
CausationType
- Implements
- Inherited Members
Constructors
CausationType(string)
Represents a causation type.
public CausationType(string Name)
Parameters
Name
stringString representing the name of the type.
Fields
Root
Represents the root causation type.
public static readonly CausationType Root
Field Value
Unknown
Represents the unknown causation type.
public static readonly CausationType Unknown
Field Value
Properties
Name
String representing the name of the type.
public string Name { get; init; }
Property Value
Operators
implicit operator string(CausationType)
Implicitly convert from CausationType to string.
public static implicit operator string(CausationType causationType)
Parameters
causationType
CausationTypeCausation type to convert from.
Returns
implicit operator CausationType(string)
Implicitly convert from string to CausationType.
public static implicit operator CausationType(string name)
Parameters
name
stringName of causation type.