internal override void Apply <TConfigRequest>(CrudRequestConfig <TConfigRequest> config) { if (_optionsConfig != null) { var options = new CrudRequestOptionsConfig(); _optionsConfig(options); config.SetOptions(options); } config.AddRequestHooks(RequestHooks); config.AddResultHooks(ResultHooks); ApplyErrorConfig(config); foreach (var builder in _requestEntityBuilders.Values) { builder.Build(config); } }
internal override void Apply <TConfigRequest>(CrudRequestConfig <TConfigRequest> config) { config.AddRequestHooks(RequestHooks); config.AddResultHooks(ResultHooks); }