Table of Contents

Class LocalAttribute

Namespace
DMediatR
Assembly
DMediatR.dll

Marks the handlers in this class as local double of a [Remote] class.

[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class LocalAttribute : Attribute
Inheritance
LocalAttribute
Inherited Members

Constructors

LocalAttribute(string)

public LocalAttribute(string remoteName)

Parameters

remoteName string

Methods

RemoteName(Type)

The reference name matching the remote double of the class.

public static string? RemoteName(Type t)

Parameters

t Type

Returns

string