Thinktecture.Tools.Web.Services.CodeGeneration.CodeGenerationOptionsParser.GetPrimaryCodeGenerationOptions C# (CSharp) Method

GetPrimaryCodeGenerationOptions() private static method

private static GetPrimaryCodeGenerationOptions ( CodeGenerationOptions options ) : PrimaryCodeGenerationOptions
options CodeGenerationOptions
return PrimaryCodeGenerationOptions
        private static PrimaryCodeGenerationOptions GetPrimaryCodeGenerationOptions(CodeGenerationOptions options)
        {
            PrimaryCodeGenerationOptions primaryOptions = new PrimaryCodeGenerationOptions();
            primaryOptions.EnableDataBinding = options.EnableDataBinding;
            primaryOptions.GenerateAsyncCode = options.GenerateAsyncCode;
            primaryOptions.GenerateOrderIdentifiers = options.GenerateOrderIdentifiers;
            primaryOptions.GenerateProperties = options.GenerateProperties;
            primaryOptions.GenerateService = options.GenerateService;
            primaryOptions.GenerateDataContracts = options.GenerateDataContracts;
            primaryOptions.ClrNamespace = options.ClrNamespace;
            return primaryOptions;
        }