public AbpWebCommonModuleConfiguration( IApiProxyScriptingConfiguration apiProxyScripting, IAbpAntiForgeryConfiguration abpAntiForgery, IWebEmbeddedResourcesConfiguration embeddedResources, IWebMultiTenancyConfiguration multiTenancy) { ApiProxyScripting = apiProxyScripting; AntiForgery = abpAntiForgery; EmbeddedResources = embeddedResources; MultiTenancy = multiTenancy; WrapResultFilters = new WrapResultFilterCollection(); }
public AbpAspNetCoreConfiguration() { DefaultWrapResultAttribute = new WrapResultAttribute(); DefaultResponseCacheAttributeForControllers = null; DefaultResponseCacheAttributeForAppServices = null; DefaultUnitOfWorkAttribute = new UnitOfWorkAttribute(); ControllerAssemblySettings = new ControllerAssemblySettingList(); FormBodyBindingIgnoredTypes = new List <Type>(); EndpointConfiguration = new List <Action <IEndpointRouteBuilder> >(); WrapResultFilters = new WrapResultFilterCollection(); IsValidationEnabledForControllers = true; SetNoCacheForAjaxResponses = true; IsAuditingEnabled = true; UseMvcDateTimeFormatForAppServices = false; }