Pip-Services-Commons-Dotnet
Static Public Member Functions | List of all members
PipServices3.Commons.Run.Notifier Class Reference

Helper class that notifies components. More...

Static Public Member Functions

static async Task NotifyOneAsync (string correlationId, object component, Parameters args)
 Notifies specific component. More...
 
static async Task NotifyAsync (string correlationId, IEnumerable components, Parameters args)
 Notifies multiple components. More...
 

Detailed Description

Helper class that notifies components.

See INotifiable

Member Function Documentation

◆ NotifyAsync()

static async Task PipServices3.Commons.Run.Notifier.NotifyAsync ( string  correlationId,
IEnumerable  components,
Parameters  args 
)
static

Notifies multiple components.

To be notified components must implement INotifiable interface. If they don't the call to this method has no effect.

Parameters
correlationIdoptional) transaction id to trace execution through call chain.
componentthe component that is to be notified.
argsnotifiation arguments.

◆ NotifyOneAsync()

static async Task PipServices3.Commons.Run.Notifier.NotifyOneAsync ( string  correlationId,
object  component,
Parameters  args 
)
static

Notifies specific component.

To be notiied components must implement INotifiable interface. If they don't the call to this method has no effect.

Parameters
correlationIdoptional) transaction id to trace execution through call chain.
componentthe component that is to be notified.
argsnotifiation arguments.

See INotifiable


The documentation for this class was generated from the following file: