/// <summary> /// Applies the Operation Loader. /// </summary> private CodeGenConfig ApplyOperationLoader(CodeGenConfig config) { var opl = new OperationConfigLoader(); opl.LoadBeforeChildren(config); opl.LoadAfterChildren(config); return(config); }
/// <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); }