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