Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public GoogleFileList(GoogleDrive drive)
 {
     Drive = drive;
 }
Exemplo n.º 3
0
 public GoogleFile(GoogleDrive drive, File file)
     : base(drive)
 {
     this.File = file;
 }
Exemplo n.º 4
0
 public GoogleFile(GoogleDrive drive, File file)
     : base(drive)
 {
     this.File = file;
 }