Table of Contents

Class CausationType

Namespace
Cratis.Chronicle.Auditing
Assembly
Cratis.Chronicle.dll

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 string

String representing the name of the type.

Fields

Root

Represents the root causation type.

public static readonly CausationType Root

Field Value

CausationType

Unknown

Represents the unknown causation type.

public static readonly CausationType Unknown

Field Value

CausationType

Properties

Name

String representing the name of the type.

public string Name { get; init; }

Property Value

string

Operators

implicit operator string(CausationType)

Implicitly convert from CausationType to string.

public static implicit operator string(CausationType causationType)

Parameters

causationType CausationType

Causation type to convert from.

Returns

string

implicit operator CausationType(string)

Implicitly convert from string to CausationType.

public static implicit operator CausationType(string name)

Parameters

name string

Name of causation type.

Returns

CausationType