public DoPathExistOperation(IActivityIOPath path, IDev2LogonProvider dev2LogonProvider, IFile fileWrapper, IDirectory directory, ImpersonationDelegate impersonationDelegate) : base(impersonationDelegate) { _logOnProvider = dev2LogonProvider; _fileWrapper = fileWrapper; _dirWrapper = directory; _path = path; _impersonatedUser = _impersonationDelegate(_path, _logOnProvider); }
public DoPutAction(Stream currentStream, IActivityIOPath destination, IDev2CRUDOperationTO crudArgument, string whereToPut, IDev2LogonProvider logOnProvider, IFile fileWrapper, IFileStreamFactory fileStreamFactory, IFilePath pathWrapper, IMemoryStreamFactory memoryStreamFactory, ImpersonationDelegate impersonationDelegate) : base(impersonationDelegate) { _logOnProvider = logOnProvider; _pathWrapper = pathWrapper; _fileWrapper = fileWrapper; _fileStreamFactory = fileStreamFactory; _memoryStreamFactory = memoryStreamFactory; _currentStream = currentStream; _destination = destination; _arguments = crudArgument; _impersonatedUser = _impersonationDelegate(_destination, _logOnProvider); _whereToPut = whereToPut; }
protected PerformIntegerIOOperation(ImpersonationDelegate impersonationDelegate) : base(impersonationDelegate) { }
public DoCreateDirectory(IActivityIOPath path, IDev2CRUDOperationTO args, IDev2LogonProvider dev2LogonProvider, IFile fileWrapper, IDirectory directory, ImpersonationDelegate impersonationDelegate) : base(impersonationDelegate) { _logOnProvider = dev2LogonProvider; _fileWrapper = fileWrapper; _dirWrapper = directory; _path = path; _crudArguments = args; _impersonatedUser = _impersonationDelegate(_path, _logOnProvider); _handleOverwrite = RequiresOverwrite(_crudArguments, _path, _logOnProvider); }
public ImpersonationOperation(ImpersonationDelegate impersonationDelegate) { _impersonationDelegate = impersonationDelegate; }
public DoGetFilesAsPerTypeOperation(IActivityIOPath path, ReadTypes type, IDev2LogonProvider dev2LogonProvider, IFile file, IDirectory directory, ImpersonationDelegate impersonationDelegate) : base(impersonationDelegate) { _logOnProvider = dev2LogonProvider; _fileWrapper = file; _dirWrapper = directory; _path = path; _type = type; _impersonatedUser = _impersonationDelegate(_path, _logOnProvider); _newPath = AppendBackSlashes(_path, _fileWrapper, _dirWrapper); }
protected PerformBoolIOOperation(ImpersonationDelegate impersonationDelegate) : base(impersonationDelegate) { }
public DoGetAction(IActivityIOPath path, IDev2LogonProvider dev2LogonProvider, IFile fileWrapper, ImpersonationDelegate impersonationDelegate) : base(impersonationDelegate) { _logOnProvider = dev2LogonProvider; _fileWrapper = fileWrapper; _path = path; _impersonatedUser = _impersonationDelegate(_path, _logOnProvider); }
protected PerformListOfIOPathOperation(ImpersonationDelegate impersonationDelegate) : base(impersonationDelegate) { }
public TestPerformListOfIOPathOperation(ImpersonationDelegate impersonationDelegate) : base(impersonationDelegate) { }
public DoDeleteOperation(IDeleteHelper deleteHelper, IActivityIOPath path, IDev2LogonProvider logOnProvider, ImpersonationDelegate impersonationDelegate) : base(impersonationDelegate) { _deleteHelper = deleteHelper; _path = path; _logOnProvider = logOnProvider; _impersonatedUser = _impersonationDelegate?.Invoke(_path, _logOnProvider); }
protected PerformStreamIOOperation(ImpersonationDelegate impersonationDelegate) : base(impersonationDelegate) { }