public ObservableCardData(ObservableCard parent, string key, Func <ObservableCard, bool> isEnabled = null) : base()
 {
     Parent           = parent ?? throw new ArgumentNullException(nameof(parent));
     Key              = key ?? throw new ArgumentNullException(nameof(key));
     _isEnabled       = isEnabled ?? ((card) => true);
     PropertyChanged += ObservableCardData_PropertyChanged;
 }
예제 #2
0
 public ObservableCardDataDynamicEnum(ObservableCard parent, DynamicEnum dynamicEnum, Func <ObservableCard, bool> isEnabled = null) : this(parent, dynamicEnum?.Id, dynamicEnum, isEnabled)
 {
 }
예제 #3
0
 public ObservableCardDataDynamicEnum(ObservableCard parent, string key, DynamicEnum dynamicEnum, Func <ObservableCard, bool> isEnabled = null) : base(parent, key, isEnabled)
 {
     DynamicEnum = dynamicEnum ?? throw new ArgumentNullException(nameof(dynamicEnum));
 }
예제 #4
0
 public ObservableCardDataEnum(ObservableCard parent, string key, Func <ObservableCard, bool> isEnabled = null) : base(parent, key, isEnabled)
 {
 }
예제 #5
0
 public ObservableCardDataEnum(ObservableCard parent, Func <ObservableCard, bool> isEnabled = null) : base(parent, typeof(TEnum).Name, isEnabled)
 {
 }
예제 #6
0
 public ObservableCardDataEnumBase(ObservableCard parent, string key, Func <ObservableCard, bool> isEnabled = null) : base(parent, key, isEnabled)
 {
     PropertyChanged += ObservableCardDataEnumBase_PropertyChanged;
 }