public static IGrainHttpResult NotFound(this Grain grain) => NotFound(grain, null);
public static IGrainHttpResult <TResult> Forbidden <TResult>(this Grain grain, TResult body, Dictionary <string, string> responseHeaders) { return(new GrainHttpResult <TResult> { Body = body, ResponseHeaders = responseHeaders, StatusCode = HttpStatusCode.Forbidden }); }
public static IGrainHttpResult <TResult> Ok <TResult>(this Grain grain, TResult body) => Ok(grain, body, null);
public static IGrainHttpResult <TResult> Forbidden <TResult>(this Grain grain, TResult body) => Forbidden(grain, body, null);
public static IGrainHttpResult <TResult> Forbidden <TResult>(this Grain grain) => Forbidden <TResult>(grain, default(TResult), null);
public static IGrainHttpResult NoContent(this Grain grain, Dictionary <string, string> responseHeaders) { return(new GrainHttpResult <object> { ResponseHeaders = responseHeaders, StatusCode = HttpStatusCode.NoContent }); }
public static IGrainHttpResult NotImplemented(this Grain grain) => NotImplemented(grain, null);
public static IGrainHttpResult <TResult> Unauthorized <TResult>(this Grain grain, TResult body) => Unauthorized(grain, body, null);
public static IGrainHttpResult <TResult> Unauthorized <TResult>(this Grain grain) => Unauthorized <TResult>(grain, default(TResult), null);
public static IGrainHttpResult <TResult> BadRequest <TResult>(this Grain grain) => BadRequest <TResult>(grain, default(TResult), null);
public static IGrainHttpResult <TResult> Unauthorized <TResult>(this Grain grain, Dictionary <string, string> responseHeaders) => Unauthorized <TResult>(grain, default(TResult), responseHeaders);
public static IGrainHttpResult <TResult> BadRequest <TResult>(this Grain grain, TResult body) => BadRequest(grain, body, null);
public static IGrainHttpResult <TResult> Conflict <TResult>(this Grain grain, TResult body) => Conflict(grain, body, null);
public static IGrainHttpResult <TResult> Accepted <TResult>(this Grain grain, TResult body) => Accepted(grain, body, null);
public static IGrainHttpResult <TResult> Ok <TResult>(this Grain grain) => Ok <TResult>(grain, default(TResult), null);
public static IGrainHttpResult <TResult> Unauthorized <TResult>(this Grain grain, TResult body, Dictionary <string, string> responseHeaders) { return(new GrainHttpResult <TResult> { Body = body, ResponseHeaders = responseHeaders, StatusCode = HttpStatusCode.Unauthorized }); }
public static IGrainHttpResult NoContent(this Grain grain) => NoContent(grain, null);
public static IGrainHttpResult <TResult> Forbidden <TResult>(this Grain grain, Dictionary <string, string> responseHeaders) => Forbidden <TResult>(grain, default(TResult), responseHeaders);
public static IStreamProvider GetStreamProvider(this Grain grain, string name) => GetStreamProvider((IGrainBase)grain, name);
public static IGrainHttpResult NotAcceptable(this Grain grain) => NotAcceptable(grain, null);