Class JsonRpcProxyImplementationAttribute
- Namespace
- Nerdbank.JsonRpc
- Assembly
- Nerdbank.JsonRpc.dll
Identifies a proxy generated by an older version of the JSON-RPC source generator.
[Obsolete("This attribute is retained for compatibility with previously generated proxy assemblies.")]
[AttributeUsage(AttributeTargets.Interface, Inherited = false, AllowMultiple = false)]
public sealed class JsonRpcProxyImplementationAttribute : Attribute
- Inheritance
-
JsonRpcProxyImplementationAttribute
- Inherited Members
Remarks
Newly generated proxies use Nerdbank.JsonRpc.JsonRpcProxyFactoryAttribute to avoid constructor reflection.
Constructors
JsonRpcProxyImplementationAttribute(Type)
Initializes a new instance of the JsonRpcProxyImplementationAttribute class.
public JsonRpcProxyImplementationAttribute(Type proxyType)
Parameters
proxyTypeTypeThe generated proxy type.
Properties
ProxyType
Gets the generated proxy type.
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors|DynamicallyAccessedMemberTypes.NonPublicConstructors)]
public Type ProxyType { get; }