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; }
public ObservableCardDataDynamicEnum(ObservableCard parent, DynamicEnum dynamicEnum, Func <ObservableCard, bool> isEnabled = null) : this(parent, dynamicEnum?.Id, dynamicEnum, isEnabled) { }
public ObservableCardDataDynamicEnum(ObservableCard parent, string key, DynamicEnum dynamicEnum, Func <ObservableCard, bool> isEnabled = null) : base(parent, key, isEnabled) { DynamicEnum = dynamicEnum ?? throw new ArgumentNullException(nameof(dynamicEnum)); }
public ObservableCardDataEnum(ObservableCard parent, string key, Func <ObservableCard, bool> isEnabled = null) : base(parent, key, isEnabled) { }
public ObservableCardDataEnum(ObservableCard parent, Func <ObservableCard, bool> isEnabled = null) : base(parent, typeof(TEnum).Name, isEnabled) { }
public ObservableCardDataEnumBase(ObservableCard parent, string key, Func <ObservableCard, bool> isEnabled = null) : base(parent, key, isEnabled) { PropertyChanged += ObservableCardDataEnumBase_PropertyChanged; }