コード例 #1
0
 public RpcMethodHandle(RpcDomain domain, string name, IJsonFormatterResolver jsonFormatterResolver, IErrorHandler errorHandler)
 {
     Name                  = name;
     EscapedUTF8Name       = EscapedUTF8String.FromUnEscaped(name);
     Domain                = domain;
     JsonFormatterResolver = jsonFormatterResolver;
     ErrorHandler          = errorHandler;
 }
コード例 #2
0
 public RpcMethodHandle(RpcDomain domain, string name) : this(domain, name, StandardResolver.CamelCase, DefaultErrorHandler.Instance)
 {
 }