Show / Hide Table of Contents

Class MessageRouterMetadata

A message router metadata.

Inheritance
System.Object
System.Dynamic.DynamicObject
ExpandoBase
Expando
ExportMetadataBase
AppServiceMetadata
MessageRouterMetadata
Implements
IExpando
System.Dynamic.IDynamicMetaObjectProvider
IIndexable
Inherited Members
AppServiceMetadata.ProcessingPriority
AppServiceMetadata.OverridePriority
AppServiceMetadata.ServiceName
AppServiceMetadata.AppServiceImplementationType
AppServiceMetadata.Dependencies
AppServiceMetadata.ToString()
AppServiceMetadata.GetMetadataValue<TAttribute, TValue>(IDictionary<String, Object>, TValue)
ExpandoBase.Item[String]
ExpandoBase.GetDynamicMemberNames()
ExpandoBase.HasDynamicMember(String)
ExpandoBase.TryGetMember(GetMemberBinder, Object)
ExpandoBase.TrySetMember(SetMemberBinder, Object)
ExpandoBase.TryInvokeMember(InvokeMemberBinder, Object[], Object)
ExpandoBase.ToDictionary(Func<String, String>, Func<Object, Object>)
ExpandoBase.GetInnerObjectTypeInfo()
ExpandoBase.GetThisTypeInfo()
ExpandoBase.TryGetValue(String, Object)
ExpandoBase.TrySetValue(String, Object)
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Kephas.Messaging.Distributed.Routing.Composition
Assembly: Kephas.Messaging.dll
Syntax
public class MessageRouterMetadata : AppServiceMetadata, IExpando, IDynamicMetaObjectProvider, IIndexable

Constructors

| Improve this Doc View Source

MessageRouterMetadata(IDictionary<String, Object>)

Initializes a new instance of the MessageRouterMetadata class.

Declaration
public MessageRouterMetadata(IDictionary<string, object> metadata)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.Object> metadata

The metadata.

| Improve this Doc View Source

MessageRouterMetadata(String, String, Boolean, Boolean, Int32, Int32, String)

Initializes a new instance of the MessageRouterMetadata class.

Declaration
public MessageRouterMetadata(string receiverUrlRegex, string channel = null, bool isFallback = false, bool isOptional = false, int processingPriority = 0, int overridePriority = 0, string serviceName = null)
Parameters
Type Name Description
System.String receiverUrlRegex

The receiver URL regular expression.

System.String channel

Optional. The channel.

System.Boolean isFallback

Optional. True if this router is fallback, false if not.

System.Boolean isOptional

Optional. True if the router is optional. Optional routers which cannot be initialized are simply ignored.

System.Int32 processingPriority

Optional. The processing priority.

System.Int32 overridePriority

Optional. The override priority.

System.String serviceName

Optional. Name of the service.

Properties

| Improve this Doc View Source

Channel

Gets or sets the channel.

Declaration
public string Channel { get; set; }
Property Value
Type Description
System.String

The channel.

| Improve this Doc View Source

IsFallback

Gets a value indicating whether this router is the fallback router.

Declaration
public bool IsFallback { get; }
Property Value
Type Description
System.Boolean

True if this router is fallback, false if not.

| Improve this Doc View Source

IsOptional

Gets a value indicating whether the router is optional. Optional routers which cannot be initialized are simply ignored.

Declaration
public bool IsOptional { get; }
Property Value
Type Description
System.Boolean

True if the router is optional, false otherwise.

| Improve this Doc View Source

ReceiverUrlRegex

Gets the receiver URL regular expression.

Declaration
public string ReceiverUrlRegex { get; }
Property Value
Type Description
System.String

The receiver URL regular expression.

Implements

IExpando
System.Dynamic.IDynamicMetaObjectProvider
IIndexable

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX