Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
netcoreplus
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
netcoreplus
Commits
9d3188ea
Commit
9d3188ea
authored
May 17, 2019
by
阿星Plus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
😥
parent
5737786c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
IActiveUnitOfWork.cs
src/Plus/Domain/Uow/IActiveUnitOfWork.cs
+3
-3
PlusDataFilters.cs
src/Plus/Domain/Uow/PlusDataFilters.cs
+2
-2
PlusStarter.cs
src/Plus/PlusStarter.cs
+3
-3
No files found.
src/Plus/Domain/Uow/IActiveUnitOfWork.cs
View file @
9d3188ea
...
...
@@ -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="
Abp
DataFilters"/> for standard filters.</param>
/// <param name="filterNames">One or more filter names. <see cref="
Plus
DataFilters"/> 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="
Abp
DataFilters"/> for standard filters.</param>
/// <param name="filterNames">One or more filter names. <see cref="
Plus
DataFilters"/> 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="
Abp
DataFilters"/> for standard filters.</param>
/// <param name="filterName">Name of the filter. <see cref="
Plus
DataFilters"/> for standard filters.</param>
bool
IsFilterEnabled
(
string
filterName
);
/// <summary>
...
...
src/Plus/Domain/Uow/PlusDataFilters.cs
View file @
9d3188ea
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
{
...
...
src/Plus/PlusStarter.cs
View file @
9d3188ea
...
...
@@ -28,14 +28,14 @@ namespace Plus
private
PlusStarter
(
Type
startupModule
,
Action
<
PlusStarterOptions
>
optionsAction
=
null
)
{
PlusStarterOptions
uPrime
StarterOptions
=
new
PlusStarterOptions
();
optionsAction
?.
Invoke
(
uPrime
StarterOptions
);
PlusStarterOptions
plus
StarterOptions
=
new
PlusStarterOptions
();
optionsAction
?.
Invoke
(
plus
StarterOptions
);
if
(!((
TypeInfo
)
typeof
(
PlusModule
)).
IsAssignableFrom
(
startupModule
))
{
throw
new
ArgumentException
(
"startupModule should be derived from PlusModule."
);
}
StartupModule
=
startupModule
;
IocManager
=
uPrime
StarterOptions
.
IocManager
;
IocManager
=
plus
StarterOptions
.
IocManager
;
_logger
=
NullLogger
.
Instance
;
AddInterceptorRegistrars
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment