ServiceClientGenerator.SimpleConstructorsModel.SimpleConstructorsModel C# (CSharp) Method

SimpleConstructorsModel() public method

Creates a model for simple constructors for the structure. Used to customize the generation of the structure
public SimpleConstructorsModel ( JsonData root ) : Json.LitJson
root JsonData The json data that contains information about the customization
return Json.LitJson
        public SimpleConstructorsModel(JsonData root)
        {
            if (root.PropertyNames.Contains("simpleConstructors", StringComparer.OrdinalIgnoreCase))
            {
                _documentRoot = root["simpleConstructors"];
            }
            else
            {
                _documentRoot = new JsonData();
                _emptyData = true;
            }
        }