Class ChannelAttribute
- Namespace
- AnyProtocol.Abstraction
- Assembly
- AnyProtocol.Abstraction.dll
Marks a declaration with channel metadata.
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Interface)]
public sealed class ChannelAttribute : Attribute
- Inheritance
-
ChannelAttribute
- Inherited Members
Constructors
ChannelAttribute(string)
Marks a declaration with channel metadata.
public ChannelAttribute(string name)
Parameters
namestringThe registered instance name.
Properties
Name
Gets the name.
public string Name { get; }
Property Value
- string
The name.