internal ClientContextChain(IEnumerable <ThriftClientEventHandler> handlers, String methodName, IClientRequestContext requestContext) { handlers = handlers ?? Enumerable.Empty <ThriftClientEventHandler>(); this._methodName = methodName; this._contexts = handlers.ToDictionary(h => h, h => h.GetContext(methodName, requestContext)).ToArray(); }
public virtual Object GetContext(String methodName, IClientRequestContext requestContext) { return(null); }