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

GetCustomCodeGenerationOptions() private static method

private static GetCustomCodeGenerationOptions ( CodeGenerationOptions options ) : CustomCodeGenerationOptions
options CodeGenerationOptions
return CustomCodeGenerationOptions
        private static CustomCodeGenerationOptions GetCustomCodeGenerationOptions(CodeGenerationOptions options)
        {
            CustomCodeGenerationOptions customOptions = new CustomCodeGenerationOptions();
            customOptions.FormatSoapActions = options.FormatSoapActions;
            customOptions.AdjustCasing = options.AdjustCasing;
            customOptions.GenerateCollections = options.GenerateCollections;
            customOptions.GenerateService = options.GenerateService;
            customOptions.GenerateTypedLists = options.GenerateTypedLists;
            customOptions.ClrNamespace = options.ClrNamespace;
            customOptions.ProjectName = options.ProjectName;
            customOptions.Language = options.Language;
            customOptions.EnableWsdlEndpoint = options.EnableWsdlEndpoint;
            customOptions.GenerateSvcFile = options.GenerateSvcFile;
            customOptions.MetadataLocation = options.MetadataLocation;
            customOptions.ConcurrencyMode = options.ConcurrencyMode;
            customOptions.InstanceContextMode = options.InstanceContextMode;
            customOptions.UseSynchronizationContext = options.UseSynchronizationContext;
            customOptions.MethodImplementation = options.MethodImplementation;
            customOptions.VirtualProperties = options.VirtualProperties;

            return customOptions;
        }