Table of Contents

Class NexusOperationAttribute

Namespace
NexusRpc
Assembly
NexusRpc.dll

Attribute put on interface methods of a NexusServiceAttribute interface. If the interface method is inherited/overridden, all must have the same matching attributes.

[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class NexusOperationAttribute : Attribute
Inheritance
NexusOperationAttribute
Inherited Members

Constructors

NexusOperationAttribute()

Initializes a new instance of the NexusOperationAttribute class with the default name. See Name.

public NexusOperationAttribute()

NexusOperationAttribute(string)

Initializes a new instance of the NexusOperationAttribute class with the given name.

public NexusOperationAttribute(string name)

Parameters

name string

Nexus operation name to use. See Name.

Properties

Name

Gets the Nexus operation name. If this is unset, it defaults to the unqualified method name.

public string? Name { get; }

Property Value

string