Class InMemorySagaChoreographyPublisher
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Behaviors.Patterns.Publishers
Assembly: Cephalon.Behaviors.Patterns.dll
Stores choreography publications in memory for local development, tests, and diagnostics.
public sealed class InMemorySagaChoreographyPublisher : ISagaChoreographyPublisherInheritance
Section titled “Inheritance”object ← InMemorySagaChoreographyPublisher
Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
Section titled “Properties”PublishedPublications
Section titled “ PublishedPublications”Gets the publications that have been accepted by this publisher.
public IReadOnlyList<SagaChoreographyPublication> PublishedPublications { get; }Property Value
Section titled “Property Value”IReadOnlyList<SagaChoreographyPublication>
Methods
Section titled “Methods”PublishAsync(SagaChoreographyPublication, CancellationToken)
Section titled “ PublishAsync(SagaChoreographyPublication, CancellationToken)”Publishes one choreography publication through the active choreography handoff path.
public ValueTask PublishAsync(SagaChoreographyPublication publication, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”publication SagaChoreographyPublication
The publication to stage.
cancellationToken CancellationToken
A token that cancels the publication.
Returns
Section titled “Returns”A task that completes when the publication has been accepted.