Esempio n. 1
0
 public RpcMethodHandle(RpcDomain domain, string name, IJsonFormatterResolver jsonFormatterResolver, IErrorHandler errorHandler)
 {
     Name                  = name;
     EscapedUTF8Name       = EscapedUTF8String.FromUnEscaped(name);
     Domain                = domain;
     JsonFormatterResolver = jsonFormatterResolver;
     ErrorHandler          = errorHandler;
 }
Esempio n. 2
0
 public bool RemoveMethod(string name, [NotNullWhen(true)] out RpcAsyncMethodEntry?methodEntry)
 {
     return(MethodEntries.TryRemove(EscapedUTF8String.FromUnEscaped(name), out methodEntry));
 }
Esempio n. 3
0
 public bool AddMethod(string name, RpcAsyncMethodEntry methodEntry)
 {
     return(MethodEntries.TryAdd(EscapedUTF8String.FromUnEscaped(name), methodEntry));
 }