コード例 #1
0
 public GxDirectory(string baseDirectory, string directory)
     : this(baseDirectory)
 {
     if (_externalStorage && !Path.IsPathRooted(directory))
     {
         _directory     = new GxExternalDirectoryInfo(directory, ServiceFactory.GetExternalProvider());
         _baseDirectory = string.Empty;
     }
     else
     {
         _directory = new GxDirectoryInfo(directory);
     }
 }
コード例 #2
0
 public GxDirectory(string baseDirectory, IGxDirectoryInfo directory)
     : this(baseDirectory)
 {
     _directory = directory;
 }
コード例 #3
0
 public GxDirectory(string baseDirectory, DirectoryInfo directory)
     : this(baseDirectory)
 {
     _directory = new GxDirectoryInfo(directory);
 }