src/Orleans.Serialization/Invocation/Response.cs
/// <summary>
/// Creates a new response object which has been fulfilled with the provided value.
/// </summary>
/// <typeparam name="TResult">The underlying result type.</typeparam>
/// <param name="value">The value.</param>
/// <returns>A new response.</returns>
Creates a new response object which has been fulfilled with the provided value.
Creates a new response object which has been fulfilled with the provided value .
public static Response FromResult<TResult>(TResult value)
        {
            var result = ResponsePool.Get<TResult>();
            result.TypedResult = value;
            return result;
        }
public static Response FromResult < TResult > ( TResult value ) { var result = ResponsePool . Get < TResult > ( ) ; result . TypedResult = value ; return result ; }
Creates a new response object which has been fulfilled with the provided value.
Creates a new response object which has been fulfilled with the provided value .
A new response.
A new response .
value
TResult
None
typeparam
The underlying result type.
The underlying result type .