Class RemoteAttribute
- Namespace
- DMediatR
- Assembly
- DMediatR.dll
Marks the handlers in this class as calling a gRPC endpoint (as opposed to calling locally).
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class RemoteAttribute : Attribute
- Inheritance
-
RemoteAttribute
- Inherited Members
Constructors
RemoteAttribute(string)
public RemoteAttribute(string name)
Parameters
name
string
Methods
Name(Type)
The reference name to be used in the "Remotes" configuration section.
public static string? Name(Type t)
Parameters
t
Type