Commit 9d3188ea authored by 阿星Plus's avatar 阿星Plus

😥

parent 5737786c
...@@ -69,7 +69,7 @@ namespace Plus.Domain.Uow ...@@ -69,7 +69,7 @@ namespace Plus.Domain.Uow
/// Does nothing for a filter if it's already disabled. /// Does nothing for a filter if it's already disabled.
/// Use this method in a using statement to re-enable filters if needed. /// Use this method in a using statement to re-enable filters if needed.
/// </summary> /// </summary>
/// <param name="filterNames">One or more filter names. <see cref="AbpDataFilters"/> for standard filters.</param> /// <param name="filterNames">One or more filter names. <see cref="PlusDataFilters"/> for standard filters.</param>
/// <returns>A <see cref="IDisposable"/> handle to take back the disable effect.</returns> /// <returns>A <see cref="IDisposable"/> handle to take back the disable effect.</returns>
IDisposable DisableFilter(params string[] filterNames); IDisposable DisableFilter(params string[] filterNames);
...@@ -78,14 +78,14 @@ namespace Plus.Domain.Uow ...@@ -78,14 +78,14 @@ namespace Plus.Domain.Uow
/// Does nothing for a filter if it's already enabled. /// Does nothing for a filter if it's already enabled.
/// Use this method in a using statement to re-disable filters if needed. /// Use this method in a using statement to re-disable filters if needed.
/// </summary> /// </summary>
/// <param name="filterNames">One or more filter names. <see cref="AbpDataFilters"/> for standard filters.</param> /// <param name="filterNames">One or more filter names. <see cref="PlusDataFilters"/> for standard filters.</param>
/// <returns>A <see cref="IDisposable"/> handle to take back the enable effect.</returns> /// <returns>A <see cref="IDisposable"/> handle to take back the enable effect.</returns>
IDisposable EnableFilter(params string[] filterNames); IDisposable EnableFilter(params string[] filterNames);
/// <summary> /// <summary>
/// Checks if a filter is enabled or not. /// Checks if a filter is enabled or not.
/// </summary> /// </summary>
/// <param name="filterName">Name of the filter. <see cref="AbpDataFilters"/> for standard filters.</param> /// <param name="filterName">Name of the filter. <see cref="PlusDataFilters"/> for standard filters.</param>
bool IsFilterEnabled(string filterName); bool IsFilterEnabled(string filterName);
/// <summary> /// <summary>
......
namespace Plus.Domain.Uow namespace Plus.Domain.Uow
{ {
/// <summary> /// <summary>
/// Standard filters of ABP. /// Standard filters of Plus.
/// </summary> /// </summary>
public static class PlusDataFilters public static class PlusDataFilters
{ {
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
public const string MayHaveTenant = "MayHaveTenant"; public const string MayHaveTenant = "MayHaveTenant";
/// <summary> /// <summary>
/// Standard parameters of ABP. /// Standard parameters of Plus.
/// </summary> /// </summary>
public static class Parameters public static class Parameters
{ {
......
...@@ -28,14 +28,14 @@ namespace Plus ...@@ -28,14 +28,14 @@ namespace Plus
private PlusStarter(Type startupModule, Action<PlusStarterOptions> optionsAction = null) private PlusStarter(Type startupModule, Action<PlusStarterOptions> optionsAction = null)
{ {
PlusStarterOptions uPrimeStarterOptions = new PlusStarterOptions(); PlusStarterOptions plusStarterOptions = new PlusStarterOptions();
optionsAction?.Invoke(uPrimeStarterOptions); optionsAction?.Invoke(plusStarterOptions);
if (!((TypeInfo)typeof(PlusModule)).IsAssignableFrom(startupModule)) if (!((TypeInfo)typeof(PlusModule)).IsAssignableFrom(startupModule))
{ {
throw new ArgumentException("startupModule should be derived from PlusModule."); throw new ArgumentException("startupModule should be derived from PlusModule.");
} }
StartupModule = startupModule; StartupModule = startupModule;
IocManager = uPrimeStarterOptions.IocManager; IocManager = plusStarterOptions.IocManager;
_logger = NullLogger.Instance; _logger = NullLogger.Instance;
AddInterceptorRegistrars(); AddInterceptorRegistrars();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment