Class PropertyConditionPrensenter
[Display(Name = "设置条件")]
public class PropertyConditionPrensenter : DisplayBindableBase, INotifyPropertyChanged, IDisplayBindable, IIconable, INameable, IOrderable, IGroupable, IDable, IDescriptionable, IConditionable, IMetaSetting
- Inheritance
-
PropertyConditionPrensenter
- Implements
- Inherited Members
- Extension Methods
Constructors
PropertyConditionPrensenter()
public PropertyConditionPrensenter()
PropertyConditionPrensenter(Type, Func<PropertyInfo, bool>)
public PropertyConditionPrensenter(Type modelTyle, Func<PropertyInfo, bool> predicate = null)
Parameters
modelTyle
Typepredicate
Func<PropertyInfo, bool>
Properties
AddConditionCommand
[JsonIgnore]
public RelayCommand AddConditionCommand { get; }
Property Value
ClearConditionCommand
[JsonIgnore]
public RelayCommand ClearConditionCommand { get; }
Property Value
ConditionOperate
[TypeConverter(typeof(EnumConverter))]
public ConditionOperate ConditionOperate { get; set; }
Property Value
Conditions
public ObservableCollection<IPropertyConfidtion> Conditions { get; set; }
Property Value
MetaSettingService
[JsonIgnore]
public IMetaSettingService MetaSettingService { get; }
Property Value
Properties
[JsonIgnore]
public ObservableCollection<PropertyInfo> Properties { get; set; }
Property Value
SaveCommand
[JsonIgnore]
public RelayCommand SaveCommand { get; }
Property Value
Methods
IsMatch(object)
public bool IsMatch(object obj)
Parameters
obj
object
Returns
Load()
public void Load()
Save(out string)
public bool Save(out string message)
Parameters
message
string