private GoogleDriveStorage CreateStorage()
        {
            var driveStorage = new GoogleDriveStorage();

            driveStorage.Open(_token);
            return(driveStorage);
        }
 public void InvalidateStorage()
 {
     if (_driveStorage != null)
     {
         _driveStorage.Close();
         _driveStorage = null;
     }
 }
Beispiel #3
0
 public StorageDisposableWrapper(GoogleDriveStorage storage)
 {
     Storage = storage;
 }
 private void CreateStorage()
 {
     _driveStorage = new GoogleDriveStorage();
     _driveStorage.Open(_authData.Token);
 }
 public void InvalidateStorage()
 {
     if (_driveStorage != null)
     {
         _driveStorage.Close();
         _driveStorage = null;
     }
 }
 private void CreateStorage()
 {
     _driveStorage = new GoogleDriveStorage();
     _driveStorage.Open(_token);
 }
 private void CreateStorage()
 {
     _driveStorage = new GoogleDriveStorage();
     _driveStorage.Open(_token);
 }
Beispiel #8
0
 private void CreateStorage()
 {
     _driveStorage = new GoogleDriveStorage();
     _driveStorage.Open(_authData.Token);
 }