Beispiel #1
0
        static void WriteText(string text, FileName filename, [CallerFilePath] string caller = null)
        {
            var dir  = FolderPath.Define(Path.GetDirectoryName(caller));
            var path = dir + filename;

            using var writer = path.Writer();
            writer.Write(text);
        }