public static sr <T> Get(T data) { var s = new sr <T>(); s.Data = data; return(s); }
public static sr <T> Get(string message) { var s = new sr <T>(); s.Message = message; return(s); }
public static sr <T> Get(Exception exception) { var s = new sr <T>(); s.Exception = exception; return(s); }
public static sr <T> GetSuccess(T data) { var s = new sr <T>(); s.Data = data; s.Success = true; return(s); }
public static sr <T> Get() { var s = new sr <T>(); return(s); }