Class VerbAttribute
Describes the verb that triggers the annotated method.
Inherited Members
Namespace: Solti.Utils.Rpc.Internals
Assembly: Solti.Utils.Rpc.Server.dll
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class VerbAttribute : Attribute
Constructors
VerbAttribute(String)
Creates a new VerbAttribute instance.
Declaration
public VerbAttribute(string verb)
Parameters
Type | Name | Description |
---|---|---|
String | verb |
VerbAttribute(String[])
Creates a new VerbAttribute instance.
Declaration
public VerbAttribute(params string[] verbs)
Parameters
Type | Name | Description |
---|---|---|
String[] | verbs |
Properties
Verbs
The verb(s).
Declaration
public IReadOnlyList<string> Verbs { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<String> |