Source/NFX/Environment/Configuration.cs
/// <summary>
/// Serializes configuration tree into Laconic format and writes it into a file
/// </summary>
Serializes configuration tree into Laconic format and writes it into a file
Serializes configuration tree into Laconic format and writes it into a file
public void ToLaconicFile(string filename, NFX.CodeAnalysis.Laconfig.LaconfigWritingOptions options = null, Encoding encoding = null)
        {
           using(var fs = new FileStream(filename, FileMode.Create))
              NFX.CodeAnalysis.Laconfig.LaconfigWriter.Write(this, fs, options, encoding);
        }
public void ToLaconicFile ( string filename , NFX . CodeAnalysis . Laconfig . LaconfigWritingOptions options = null , Encoding encoding = null ) { using ( var fs = new FileStream ( filename , FileMode . Create ) ) NFX . CodeAnalysis . Laconfig . LaconfigWriter . Write ( this , fs , options , encoding ) ; }
Serializes configuration tree into Laconic format and writes it into a file
Serializes configuration tree into Laconic format and writes it into a file
filename
string
options
NFX.CodeAnalysis.Laconfig.LaconfigWritingOptions
encoding
Encoding