public virtual void SetAccessControl(IDirectorySecurity directorySecurity) { _directoryInfo.SetAccessControl(AdapterHelper.Unwrap(directorySecurity)); }
public virtual IDirectory CreateSubdirectory(string path, IDirectorySecurity directorySecurity) { return(new DirectoryInfoAdapter(_directoryInfo.CreateSubdirectory(path, AdapterHelper.Unwrap(directorySecurity)))); }
public virtual void Create(IDirectorySecurity directorySecurity) { _directoryInfo.Create(AdapterHelper.Unwrap(directorySecurity)); }
public virtual void SetAccessControl(IFileSecurity fileSecurity) { _fileInfo.SetAccessControl(AdapterHelper.Unwrap(fileSecurity)); }