mirror of https://github.com/abpframework/abp.git
4 changed files with 40 additions and 11 deletions
@ -1,7 +0,0 @@ |
|||
namespace Volo.Abp.Data |
|||
{ |
|||
internal class DataFilterItem |
|||
{ |
|||
public bool IsEnabled { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,15 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
|
|||
namespace Volo.Abp.Data |
|||
{ |
|||
public class DataFilterOptions |
|||
{ |
|||
public Dictionary<Type, DataFilterState> DefaultStates { get; } |
|||
|
|||
public DataFilterOptions() |
|||
{ |
|||
DefaultStates = new Dictionary<Type, DataFilterState>(); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
namespace Volo.Abp.Data |
|||
{ |
|||
public class DataFilterState |
|||
{ |
|||
public bool IsEnabled { get; set; } |
|||
|
|||
public DataFilterState(bool isEnabled) |
|||
{ |
|||
IsEnabled = isEnabled; |
|||
} |
|||
|
|||
public DataFilterState Clone() |
|||
{ |
|||
return new DataFilterState(IsEnabled); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue