public GitHubCloud(CloudParameters model, GitHubCloudOptions options) { Parameters = model; _gitHub = new GitHubClient(new ProductHeaderValue(options.GithubApplicationId)); _isAuthenticated.OnNext(false); EnsureLoggedInIfTokenSaved(); }
public VkDocsCloud(CloudParameters model, VkDocsCloudOptions options) { Parameters = model; _options = options; _isAuthorized.OnNext(false); EnsureLoggedInIfTokenSaved(); }
public YandexDiskCloud(CloudParameters model, IAuthenticator authenticator, YandexDiskCloudOptions options) { Parameters = model; _authenticator = authenticator; _options = options; _isAuthorized.OnNext(false); EnsureLoggedInIfTokenSaved(); }
public GoogleDriveCloud(CloudParameters model, IBlobCache blobCache, GoogleDriveCloudOptions options) { Parameters = model; _blobCache = blobCache; _options = options; _isAuthorized.OnNext(false); EnsureLoggedInIfTokenSaved(); }
public void CopyFrom(CloudParameters other) { Clouds.Density = other.Density; Clouds.Scale1 = other.Scale1; Clouds.Scale2 = other.Scale2; Clouds.Shading = other.Shading; Clouds.ShadowStrength = other.ShadowStrength; Clouds.ShadowProjector = other.ShadowProjector; Clouds.Sharpness = other.Sharpness; Clouds.Tone = other.Tone; }
public LocalCloud(CloudParameters model) => Parameters = model;
public SftpCloud(CloudParameters model) { Parameters = model; _isAuthorized.OnNext(false); }
public ICloud CreateCloud(CloudParameters parameters) => parameters.Type switch {