/// <summary> /// Initializes a new instance of the <see cref="ServerContext" /> class. /// </summary> /// <param name="settings">The settings.</param> /// <param name="helper">The helper.</param> /// <param name="client">The client.</param> /// <exception cref="ArgumentNullException"></exception> public ServerContext(IServerSettings settings, ICreateHelper helper, IHttpClient client) { if (settings == null) { throw new ArgumentNullException(nameof(settings)); } if (helper == null) { throw new ArgumentNullException(nameof(helper)); } if (client == null) { throw new ArgumentNullException(nameof(client)); } this.authzCookieName = "authz"; this.settings = settings; this.helper = helper; this.client = client; }
public BucketCreator(ICreateHelper tool) : base(tool) { }
public CreateNewPool(ICreateHelper tool) : base(tool) { }
public CreateNewJob(ICreateHelper tool) : base(tool) { }
public AApiObjectCreator(ICreateHelper tool) { Tools = tool; }
public CreateNewTask(ICreateHelper tool) : base(tool) { }
/// <summary> /// Initializes a new instance of the <see cref="ServerContext"/> class. /// </summary> /// <param name="settings">The settings.</param> /// <param name="helper">The helper.</param> public ServerContext(IServerSettings settings, ICreateHelper helper) : this(settings, helper, new ServerHttpClient()) { }