Struct Guids
Does not actually contain guids, but can be used as an equality key for a list of them.
[MessagePackFormatter(typeof(Guids.Formatter))]
public readonly struct Guids
- Inherited Members
Remarks
Permutations: AllKey | filter=null, view=null SomeKey | filter=some, view=null ViewKey | filter=some, view=some (the filter is that of the base key) All permutations additionally carry a The.Caching.TenancyScope, which partitions entries whose results depend on the caller's tenant visibility (universal when partitioning is off).
Constructors
Guids(string, int, Expression?, View?)
public Guids(string targetEntityName, int precalculatedHashCode, Expression? filter, View? view)
Parameters
targetEntityNamestringprecalculatedHashCodeintfilterExpressionviewView?
Fields
TargetEntityName
public readonly string TargetEntityName
Field Value
Properties
HasFilter
public bool HasFilter { get; }
Property Value
HasScope
public bool HasScope { get; }
Property Value
HasView
public bool HasView { get; }
Property Value
Methods
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.