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