コード例 #1
0
ファイル: ESPathnameBinder.cs プロジェクト: vlastik01/cSharp
 public ESPathnameBinder(DirectoryInfo defaultSearchPath, String defaultExtension, FileInfo searchPathsFile)
 {
     this.defaultSearchPath = defaultSearchPath ?? ESFileUtility.userProfilePath();
     this.defaultExtension  = defaultExtension == null ? null : (defaultExtension.Length < 1 ? null: defaultExtension);
     addSearchPathsFrom(searchPathsFile);
 }
コード例 #2
0
ファイル: ESPathnameBinder.cs プロジェクト: vlastik01/cSharp
 public ESPathnameBinder(DirectoryInfo defaultSearchPath, String defaultExtension)
     : this(defaultSearchPath, defaultExtension, new FileInfo(Path.Combine((defaultSearchPath ?? ESFileUtility.userProfilePath()).FullName, "searchPaths")))
 {
 }