Struct SubjectName
- Namespace
- IntentSharp.Guardrails
- Assembly
- IntentSharp.dll
The name of a fact a checkpoint hands to the guardrail rules, such as data.entities. Names are open and
written <checkpoint>.<name> by convention; targets and applications add their own. Two names
are equal exactly when their values are equal, compared ordinally (case-sensitive).
public readonly record struct SubjectName : IEquatable<SubjectName>
- Implements
-
IEquatable<SubjectName>
- Inherited Members
-
ValueType.Equals(object)ValueType.GetHashCode()object.Equals(object, object)object.GetType()object.ReferenceEquals(object, object)
- Extension Methods
Constructors
- SubjectName(string)
The name of a fact a checkpoint hands to the guardrail rules, such as
data.entities. Names are open and written<checkpoint>.<name>by convention; targets and applications add their own. Two names are equal exactly when their values are equal, compared ordinally (case-sensitive).
Properties
- Value
The subject's name; never empty for a name created with the constructor.
Methods
- ToString()
Returns Value.