Table of Contents

Class ShelfOriginBase

Namespace
XENBIT.ResQueServe.Abstractions.Models
Assembly
RQS.Abstractions.dll

Base record for all Shelf origin descriptors. Inherit from this record to represent various source or origin types (e.g., API origin, file origin, database origin, etc.).

[JsonDerivedType(typeof(ShelfOrigin), "untyped")]
[JsonDerivedType(typeof(ShelfOrigin<long>), "long")]
[JsonDerivedType(typeof(ShelfOrigin<int>), "int")]
[JsonDerivedType(typeof(ShelfOrigin<string>), "string")]
[JsonDerivedType(typeof(ShelfOrigin<Guid>), "guid")]
[JsonDerivedType(typeof(ShelfOrigin<DateTimeOffset>), "datetimeoffset")]
public abstract record ShelfOriginBase : IEquatable<ShelfOriginBase>
Inheritance
ShelfOriginBase
Implements
Derived
Inherited Members

Properties

DisplayName

Gets a human-readable display name for the origin. Default implementation uses ToString().

public virtual string DisplayName { get; }

Property Value

string