Пример #1
0
        public static Response FromResult <TResult>(TResult value)
        {
            var result = ResponsePool.Get <TResult>();

            result.TypedResult = value;
            return(result);
        }
Пример #2
0
 /// <inheritdoc />
 public PooledResponse <TResult> Create() => ResponsePool.Get <TResult>();