Пример #1
0
        /// <summary>
        /// Applies the Operation Loader.
        /// </summary>
        private CodeGenConfig ApplyOperationLoader(CodeGenConfig config)
        {
            var opl = new OperationConfigLoader();

            opl.LoadBeforeChildren(config);
            opl.LoadAfterChildren(config);
            return(config);
        }
Пример #2
0
        /// <summary>
        /// Applies the Operation Loader.
        /// </summary>
        private static async Task <CodeGenConfig> ApplyOperationLoaderAsync(CodeGenConfig config)
        {
            var opl = new OperationConfigLoader() as ICodeGenConfigLoader;
            await opl.LoadBeforeChildrenAsync(config).ConfigureAwait(false);

            await opl.LoadAfterChildrenAsync(config).ConfigureAwait(false);

            return(config);
        }