Table of Contents

Class WebMethodAttribute

Namespace
Sisk.JsonRPC.Annotations
Assembly
Sisk.JsonRPC.dll

Represents an JSON-RPC method.

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

Constructors

WebMethodAttribute()

Creates an new WebMethodAttribute with no parameters.

WebMethodAttribute(string)

Creates an new WebMethodAttribute with given parameters.

Properties

Name

Gets or sets the method name.