Class StreamAttribute
Indicates which event feed that an event handler wants to consume.
Inherited Members
Namespace: IRM.Messaging.Subscriptions
Assembly: IRM.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class StreamAttribute : Attribute, _Attribute, IStreamFilter
Constructors
StreamAttribute(String)
Creates a new instance of StreamAttribute.
Declaration
public StreamAttribute(string stream)
Parameters
String
stream
Sets the name of the stream to consume. |
Properties
BaseUriName
Gets or sets the name of the base uri to use when consuming the stream. Leave this null or blank to use the default base uri.
Declaration
public string BaseUriName { get; set; }
Property Value
String
|
Implements
EventType
Gets or sets the full name of the event type to consume. Setting EventType will filter the stream to only consume this event.
Declaration
public string EventType { get; set; }
Property Value
String
|
Implements
Module
Gets or sets the name of the module to consume. Setting Module will filter the stream to only consume events that belongs to the specified module.
Declaration
public string Module { get; set; }
Property Value
String
|
Implements
Order
Gets the order value for determining the order of reading streams. Streams are read in ascending numeric value of the Order property.
Declaration
public int Order { get; set; }
Property Value
System.Int32
|
Stream
Gets the name of the stream that will be consumed by the SubscriptionRunner.
Declaration
public string Stream { get; }
Property Value
String
|
Implements
SyndicationFeedClientType
Gets or sets the type of ISyndicationFeedClient that should be used. The default is InProcessSyndicationFeedClient.
Declaration
public Type SyndicationFeedClientType { get; set; }
Property Value
System.Type
|
Methods
GetUniqueKey()
Gets a unique key based on the values for this attribute.
Declaration
public string GetUniqueKey()
Returns
String
The unique key. |