Show / Hide Table of Contents

Class StreamAttribute

Indicates which event feed that an event handler wants to consume.

Inheritance
Object
Attribute
StreamAttribute
Inherited Members
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, Boolean)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
Attribute.GetCustomAttribute(Module, Type, Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
Attribute.GetCustomAttributes(Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
Attribute.GetCustomAttribute(Assembly, Type, Boolean)
System.Attribute.Equals(System.Object)
System.Attribute.GetHashCode()
System.Attribute.Match(System.Object)
System.Attribute.IsDefaultAttribute()
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfoCount(System.UInt32)
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfo(System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.GetIDsOfNames(System.Guid, System.IntPtr, System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.Invoke(System.UInt32, System.Guid, System.UInt32, System.Int16, System.IntPtr, System.IntPtr, System.IntPtr, System.IntPtr)
Attribute.TypeId
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Object.MemberwiseClone()
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
IStreamFilter.BaseUriName

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
IStreamFilter.EventType

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
IStreamFilter.Module

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
IStreamFilter.Stream

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.

ToString()

Declaration
public override string ToString()
Returns
String

Overrides
System.Object.ToString()

Extension Methods

ObjectExtensions.DeepClone<T>(T)
AnnotationsExtensions.IsValid(Object)
Back to top Generated by DocFX