示例#1
0
 public AbpWebCommonModuleConfiguration(
     IApiProxyScriptingConfiguration apiProxyScripting,
     IAbpAntiForgeryConfiguration abpAntiForgery,
     IWebEmbeddedResourcesConfiguration embeddedResources,
     IWebMultiTenancyConfiguration multiTenancy)
 {
     ApiProxyScripting = apiProxyScripting;
     AntiForgery       = abpAntiForgery;
     EmbeddedResources = embeddedResources;
     MultiTenancy      = multiTenancy;
     WrapResultFilters = new WrapResultFilterCollection();
 }
示例#2
0
 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;
 }