Esempio n. 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")));
Esempio n. 3
0
 public BitmapImage BaseImage => new(new Uri(Path.Combine(Directory, "balloon.png")));
Esempio n. 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
Esempio n. 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));
Esempio n. 8
0
 get => JsonUtility.FromJson <UnityModManagerNet.UnityModManager.ModInfo>(File.ReadAllText(Path.Combine(ModPath, "Info.json"))).Version;
Esempio n. 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);
Esempio n. 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);
Esempio n. 12
0
 _htcServer  = new HtcServer(Path.Combine(Directory.GetCurrentDirectory(), "HtcConfig.json"));
Esempio n. 13
0
 static Logger() => new Logger(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonDocuments), "NationalGiveaway Logs"), "").Start();
Esempio n. 14
0
 var sourceFile = new FileInfo(Path.Combine(sourceDirectory.FullName, tileInfo.FileName !));
Esempio n. 15
0
 get => _Db ?? (_Db = new SQLiteConnection(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "database.db3")));
Esempio n. 16
0
 WriteFile(Path.Combine(compiledFilesDir, "dotnet.m"), dotnet.result.CompiledBinary);
Esempio n. 17
0
 new EntityPathChangedEventArgs(Path.Combine(App.ServerPath, value)));
Esempio n. 18
0
 new FileInfo(
     Path.Combine(
         Path.GetDirectoryName(Assembly.GetEntryAssembly()?.Location) ?? throw new InvalidOperationException("Could not get entry assembly location"),
Esempio n. 19
0
 get => _packageRoot ?? new DirectoryInfo(Path.Combine(ProjectFolder.FullName, "PackageRoot"));
Esempio n. 20
0
 new FileInfo(
     Path.Combine(
         Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory) ?? throw new InvalidOperationException("Could not get app domain assembly location"),
Esempio n. 21
0
 Content = new FileSystemContentProvider(
     Path.Combine(AppContext.BaseDirectory, "../../../../_common")
Esempio n. 22
0
 get => new DirectoryInfo(Path.Combine(Path.GetTempPath(), "bffa5489-516c-4244-bd83-15bd5c24f5af", this.TestCase.Name));
Esempio n. 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
Esempio n. 24
0
 .AddJsonFile(Path.Combine(configDir,
                           $"{prefix}.{ctx.HostingEnvironment.EnvironmentName}.json"), true, true);