public void SerializeMakeFile(string path)
        {
            GeneratorSettings clone = new GeneratorSettings
            {
                OutputAssembly = OutputAssembly,
                CreateMakeFile = false,
                Compiler       = Compiler,
                ApiControllers = null,
                Files          = Files
            };

            YamlHelpers.SerializeFile($"{path}\\{OutputAssembly}.make.yaml", clone);
        }
        public void SerializeSample(string path, bool verbose = false)
        {
            GeneratorSettings clone = new GeneratorSettings
            {
                OutputAssembly = OutputAssembly,
                CreateMakeFile = true,
                Compiler       = null,
                ApiControllers = ApiControllers,
                Files          = null
            };

            YamlHelpers.SerializeFile($"{path}\\{OutputAssembly}.sample.yaml", verbose ? this : clone, emitDefaultValues: verbose);
        }
 public static GeneratorSettings Deserialize(string path)
 {
     return(YamlHelpers.DeserializeFile <GeneratorSettings>(path));
 }