Inheritance: IDisposable
Exemple #1
0
 internal static Command Create(string path, RequestType type, RestApiProvider executor)
 {
     if (String.IsNullOrEmpty(path))
     {
         throw new ArgumentNullException("path");
     }
     return(new Command(type, path, executor));
 }
Exemple #2
0
 internal static Command Create(string path, RequestType type, RestApiProvider executor)
 {
     if (String.IsNullOrEmpty(path))
         throw new ArgumentNullException("path");
     return new Command(type, path, executor);
 }
Exemple #3
0
 private Command(RequestType type, string path, RestApiProvider executor)
 {
     _type = type;
     _path = path;
     _executor = executor;
 }
Exemple #4
0
 private Command(RequestType type, string path, RestApiProvider executor)
 {
     _type     = type;
     _path     = path;
     _executor = executor;
 }