public FilesystemHelpers(IShellPage associatedInstance, CancellationToken cancellationToken) { this.associatedInstance = associatedInstance; this.cancellationToken = cancellationToken; this.filesystemOperations = new FilesystemOperations(this.associatedInstance); this.recycleBinHelpers = new RecycleBinHelpers(this.associatedInstance); }
public void Dispose() { recycleBinHelpers?.Dispose(); recycleBinHelpers = null; associatedInstance = null; }
public void Dispose() { filesystemOperations?.Dispose(); filesystemOperations = null; recycleBinHelpers = null; associatedInstance = null; }
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(); }