Exemplo n.º 1
0
 public FilesystemHelpers(IShellPage associatedInstance, CancellationToken cancellationToken)
 {
     this.associatedInstance   = associatedInstance;
     this.cancellationToken    = cancellationToken;
     this.filesystemOperations = new FilesystemOperations(this.associatedInstance);
     this.recycleBinHelpers    = new RecycleBinHelpers(this.associatedInstance);
 }
Exemplo n.º 2
0
        public void Dispose()
        {
            recycleBinHelpers?.Dispose();

            recycleBinHelpers  = null;
            associatedInstance = null;
        }
Exemplo n.º 3
0
        public void Dispose()
        {
            filesystemOperations?.Dispose();

            filesystemOperations = null;
            recycleBinHelpers    = null;
            associatedInstance   = null;
        }
Exemplo n.º 4
0
 public FilesystemOperations(IShellPage associatedInstance)
 {
     this.associatedInstance = associatedInstance;
     recycleBinHelpers       = new RecycleBinHelpers(this.associatedInstance);
 }
 public virtual void EmptyRecycleBin(RoutedEventArgs e)
 {
     RecycleBinHelpers.EmptyRecycleBin(associatedInstance);
 }
 public virtual async void EmptyRecycleBin(RoutedEventArgs e)
 {
     await RecycleBinHelpers.S_EmptyRecycleBin();
 }