GenerateProxyAttribute Class

Definition

Marks an interface to have a proxy generated for

[System.AttributeUsage(System.AttributeTargets.Interface)]
public sealed class GenerateProxyAttribute : Attribute
Inheritance
GenerateProxyAttribute
Attributes

Constructors

GenerateProxyAttribute()

Creates a new GenerateProxyAttribute instance

Properties

GeneratedName

What name to use for the generated proxy.

By default, the generated proxy name will be {Interface Name}_GeneratedProxy.

GeneratedNamespace

What namespace to use for the generated proxy.

By default, the generated proxy namespace will be VoltRpc.Proxy.Generated.

Applies to