AVM.DDP.MetaTBManifest.Serialize C# (CSharp) Method

Serialize() public method

public Serialize ( string outputDir = "" ) : void
outputDir string
return void
        public void Serialize(string outputDir = "")
        {
            string manifestJson = Newtonsoft.Json.JsonConvert.SerializeObject(
                this,
                Newtonsoft.Json.Formatting.Indented);

            string fullPathFileName = Path.Combine(outputDir, TESTBENCH_FILENAME);

            using (StreamWriter writer = new StreamWriter(fullPathFileName))
            {
                writer.WriteLine(manifestJson);
            }
        }