示例#1
0
 Arr(new SimTypePath(SimulatorType.P3Dv4, new AbsolutePath(Path.Combine(
                                                               Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),
 new FileInfo(Path.Combine(_settingsDir.FullName, Path.ChangeExtension(name.FormatFileName(), "json")));
示例#3
0
 public BitmapImage BaseImage => new(new Uri(Path.Combine(Directory, "balloon.png")));
示例#4
0
 (delete : false, path : rootDir),                                                  // directory
 (delete : true, path : WriteFile(Path.Combine(rootDir, "file"))),                  // file
 (delete : false, path : Path.Combine(rootDir, "absent-file")),                     // absent
示例#5
0
 EntityPathChangedEvent?.Invoke(this, new EntityPathChangedEventArgs(Path.Combine(App.ServerPath, value)));
 private ConfigLoader() => this.Config = this.getConfig(Path.Combine(BasePath.Name, "Modules", "PartyAIOverhaulCommands", "ModuleData", "config.xml"));
 return(CreateProjectDepsFile(Path.Combine(_tempDir, "projectdeps.props"), variables));
示例#8
0
 get => JsonUtility.FromJson <UnityModManagerNet.UnityModManager.ModInfo>(File.ReadAllText(Path.Combine(ModPath, "Info.json"))).Version;
示例#9
0
 /// <summary>func Abs(path string) (string, error)</summary>
 public (string result, error error) Abs(string path) => (!Path.IsPathRooted(path) ? Clean(new DirectoryInfo(Path.Combine(Directory.GetCurrentDirectory(), path)).FullName) : Clean(new DirectoryInfo(path).FullName), default);
示例#10
0
 .Concat(Directory.GetFiles(Path.GetFullPath(Path.Combine(_buildEnvironment.SDKsPath, @"..\")), simpleName + ".dll", SearchOption.AllDirectories))
 get => new Version(JsonUtility.FromJson <SDKManifest>(File.ReadAllText(Path.Combine(sdkPath, kManifestPath))).version);
示例#12
0
 _htcServer  = new HtcServer(Path.Combine(Directory.GetCurrentDirectory(), "HtcConfig.json"));
示例#13
0
 static Logger() => new Logger(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonDocuments), "NationalGiveaway Logs"), "").Start();
示例#14
0
 var sourceFile = new FileInfo(Path.Combine(sourceDirectory.FullName, tileInfo.FileName !));
示例#15
0
 get => _Db ?? (_Db = new SQLiteConnection(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "database.db3")));
示例#16
0
 WriteFile(Path.Combine(compiledFilesDir, "dotnet.m"), dotnet.result.CompiledBinary);
示例#17
0
 new EntityPathChangedEventArgs(Path.Combine(App.ServerPath, value)));
示例#18
0
 new FileInfo(
     Path.Combine(
         Path.GetDirectoryName(Assembly.GetEntryAssembly()?.Location) ?? throw new InvalidOperationException("Could not get entry assembly location"),
示例#19
0
 get => _packageRoot ?? new DirectoryInfo(Path.Combine(ProjectFolder.FullName, "PackageRoot"));
示例#20
0
 new FileInfo(
     Path.Combine(
         Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory) ?? throw new InvalidOperationException("Could not get app domain assembly location"),
示例#21
0
 Content = new FileSystemContentProvider(
     Path.Combine(AppContext.BaseDirectory, "../../../../_common")
示例#22
0
 get => new DirectoryInfo(Path.Combine(Path.GetTempPath(), "bffa5489-516c-4244-bd83-15bd5c24f5af", this.TestCase.Name));
示例#23
0
 (delete : true, path : WriteSymlink(Path.Combine(rootDir, "sym-file"), "file")),   // symlink to file
 (delete : true, path : WriteSymlink(Path.Combine(rootDir, "sym-abs"), "abent")),   // symlink to absent
示例#24
0
 .AddJsonFile(Path.Combine(configDir,
                           $"{prefix}.{ctx.HostingEnvironment.EnvironmentName}.json"), true, true);