Class EventStreamDescriptor
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.EventSourcing
Assembly: Cephalon.Abstractions.dll
Describes one logical event stream visible to the current runtime.
public sealed record EventStreamDescriptor : IEquatable<EventStreamDescriptor>Inheritance
Section titled “Inheritance”object ← EventStreamDescriptor
Implements
Section titled “Implements”IEquatable<EventStreamDescriptor>
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”EventStreamDescriptor(string, string, string, string, string, string, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)
Section titled “ EventStreamDescriptor(string, string, string, string, string, string, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)”Initializes a new instance of the
public EventStreamDescriptor(string id, string displayName, string description, string sourceModuleId, string provider, string mode = "append-only", IReadOnlyList<string>? tags = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”id string
The stable event-stream identifier.
displayName string
The operator-facing event-stream name.
description string
The human-readable event-stream description.
sourceModuleId string
The module identifier that owns the event stream.
provider string
The provider identifier that persists the stream.
mode string
The stream persistence mode. The default is append-only.
tags IReadOnlyList<string>?
The descriptive tags associated with the stream.
metadata IReadOnlyDictionary<string, string>?
The provider-specific metadata associated with the stream.
Properties
Section titled “Properties”Description
Section titled “ Description”Gets the normalized human-readable description.
public string Description { get; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”Gets the normalized operator-facing name.
public string DisplayName { get; }Property Value
Section titled “Property Value”Gets the normalized event-stream identifier.
public string Id { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets the normalized provider-specific metadata associated with the stream.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
Gets the normalized stream persistence mode.
public string Mode { get; }Property Value
Section titled “Property Value”Provider
Section titled “ Provider”Gets the normalized provider identifier.
public string Provider { get; }Property Value
Section titled “Property Value”SourceModuleId
Section titled “ SourceModuleId”Gets the normalized source module identifier.
public string SourceModuleId { get; }Property Value
Section titled “Property Value”Gets the normalized descriptive tags associated with the stream.
public IReadOnlyList<string> Tags { get; }