public abstract class RpcAttribute : Attribute
Public MustInherit Class RpcAttribute
Inherits Attribute
[<AbstractClassAttribute>]
type RpcAttribute =
class
inherit Attribute
end
RpcAttribute | 构造函数 |
ClassCodeGenerator | 类生成器 |
Exceptions | 异常提示 |
GeneratorFlag | 生成代码 |
GenericConstraintTypes | 生成泛型方法的约束 |
InvokeKey | 调用键。 |
MethodInvoke | 是否仅以函数名调用,当为True是,调用时仅需要传入方法名即可。 |
MethodName | 重新指定生成的函数名称。可以使用类似“JsonRpc_{0}”的模板格式。 |
Namespaces | 生成代理时,额外的命名空间 |
PropertyNames | 获取或设置属性名称的字典。 |
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (继承自 Attribute。) |
Equals | Returns a value that indicates whether this instance is equal to a specified object. (继承自 Attribute。) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
GetDescription | 获取注释信息 |
GetExtensionInstanceMethod | 生成扩展函数的内容 |
GetExtensionsMethodProxyCode | 获取扩展的代理代码 |
GetGenericConstraintTypes | 获取生成的函数泛型限定名称。默认IRpcClient |
GetHashCode | Returns the hash code for this instance. (继承自 Attribute。) |
GetInstanceMethod | 生成实现函数的内容 |
GetInstanceProxyCode | 获取生成实体类时的代码块 |
GetInterfaceProxyCode | 获取接口的代理代码 |
GetInvokeKey | 获取调用键 |
GetInvokeOption | 获取调用配置 |
GetMethodName | 获取生成的函数名称 |
GetParameters | 根据指定的RPC方法获取参数信息。 |
GetProxyParameterName | 从类型获取代理名 |
GetReturn | 获取返回值 |
GetType | Gets the Type of the current instance. (继承自 Object。) |
IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (继承自 Attribute。) |
Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (继承自 Attribute。) |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
ToString | Returns a string that represents the current object. (继承自 Object。) |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |