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

😥

parent 5737786c
......@@ -69,7 +69,7 @@ namespace Plus.Domain.Uow
/// Does nothing for a filter if it's already disabled.
/// Use this method in a using statement to re-enable filters if needed.
/// </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>
IDisposable DisableFilter(params string[] filterNames);
......@@ -78,14 +78,14 @@ namespace Plus.Domain.Uow
/// Does nothing for a filter if it's already enabled.
/// Use this method in a using statement to re-disable filters if needed.
/// </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>
IDisposable EnableFilter(params string[] filterNames);
/// <summary>
/// Checks if a filter is enabled or not.
/// </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);
/// <summary>
......
namespace Plus.Domain.Uow
{
/// <summary>
/// Standard filters of ABP.
/// Standard filters of Plus.
/// </summary>
public static class PlusDataFilters
{
......@@ -28,7 +28,7 @@
public const string MayHaveTenant = "MayHaveTenant";
/// <summary>
/// Standard parameters of ABP.
/// Standard parameters of Plus.
/// </summary>
public static class Parameters
{
......
......@@ -28,14 +28,14 @@ namespace Plus
private PlusStarter(Type startupModule, Action<PlusStarterOptions> optionsAction = null)
{
PlusStarterOptions uPrimeStarterOptions = new PlusStarterOptions();
optionsAction?.Invoke(uPrimeStarterOptions);
PlusStarterOptions plusStarterOptions = new PlusStarterOptions();
optionsAction?.Invoke(plusStarterOptions);
if (!((TypeInfo)typeof(PlusModule)).IsAssignableFrom(startupModule))
{
throw new ArgumentException("startupModule should be derived from PlusModule.");
}
StartupModule = startupModule;
IocManager = uPrimeStarterOptions.IocManager;
IocManager = plusStarterOptions.IocManager;
_logger = NullLogger.Instance;
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