Click or drag to resize

RpcInterfaceAttribute Class

Indicates an interface will be used for Jumbo's RPC mechanism.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Ookii.Jumbo.RpcRpcInterfaceAttribute

Namespace: Ookii.Jumbo.Rpc
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public sealed class RpcInterfaceAttribute : Attribute

The RpcInterfaceAttribute type exposes the following members.

Constructors
 NameDescription
Public methodRpcInterfaceAttributeInitializes a new instance of the RpcInterfaceAttribute class
Top
Properties
 NameDescription
Public propertyTypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute)
Top
Methods
 NameDescription
Public methodEqualsReturns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from Attribute)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute)
Public methodMatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks

When using this attribute, you must reference the Ookii.Jumbo.Generator assembly as an analyzer. The source generator will build a client proxy type and a server dispatcher for your interface.

See Also