public static async Task<GoogleDrive> CreateInstance(Account account, string id, ClientSecrets secrets, string rootPath, string credentialPath, CancellationToken token) { var ret = new GoogleDrive(account, id, secrets, credentialPath); var rootFolder = await ret.GetFolderByPathAsync(rootPath, token, true); ret.rootFolder = rootFolder; return ret; }
public GoogleFileList(GoogleDrive drive) { Drive = drive; }
public GoogleFile(GoogleDrive drive, File file) : base(drive) { this.File = file; }