GenerateProxyAttribute Class
Definition
Marks an interface to have a proxy generated for
[System.AttributeUsage(System.AttributeTargets.Interface)]
public sealed class GenerateProxyAttribute : Attribute
- Inheritance
- System.AttributeGenerateProxyAttribute
- Attributes
- System.AttributeUsageAttribute
Constructors
GenerateProxyAttribute() | Creates a new GenerateProxyAttribute instance |
Properties
ForcePublic | Forces the generated proxy to be public By default, the generated proxy visibility will be the same as the interfaces |
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. |