Class GenerateProxyAttribute

Marks an interface to have a proxy generated for

Inheritance
GenerateProxyAttribute
Inherited Members
Attribute.Equals(object)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, bool)
Attribute.GetCustomAttribute(MemberInfo, Type)
Attribute.GetCustomAttribute(MemberInfo, Type, bool)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, bool)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(Assembly)
Attribute.GetCustomAttributes(Assembly, bool)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, bool)
Attribute.GetCustomAttributes(MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, bool)
Attribute.GetCustomAttributes(MemberInfo, Type)
Attribute.GetCustomAttributes(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, bool)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, bool)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
Attribute.GetHashCode()
Attribute.IsDefaultAttribute()
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, bool)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, bool)
Attribute.IsDefined(Module, Type)
Attribute.IsDefined(Module, Type, bool)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, bool)
Attribute.Match(object)
Attribute.TypeId
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VoltRpc.Proxy
Assembly: VoltRpc.dll
Syntax
[AttributeUsage(AttributeTargets.Interface)]
public sealed class GenerateProxyAttribute : Attribute

Constructors

| Edit this page View Source

GenerateProxyAttribute()

Creates a new GenerateProxyAttribute instance

Declaration
public GenerateProxyAttribute()

Properties

| Edit this page View Source

ForcePublic

Forces the generated proxy to be public

By default, the generated proxy visibility will be the same as the interfaces

Declaration
public bool ForcePublic { get; set; }
Property Value
TypeDescription
bool
| Edit this page View Source

GeneratedName

What name to use for the generated proxy.

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

Declaration
public string? GeneratedName { get; set; }
Property Value
TypeDescription
string
| Edit this page View Source

GeneratedNamespace

What namespace to use for the generated proxy.

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

Declaration
public string? GeneratedNamespace { get; set; }
Property Value
TypeDescription
string