/// <summary> /// Creates a new instance /// </summary> public MountainBikeComponentsCollection(IMountainBike parent) { this._parent = parent; parent.FrameChanged += this.HandleValueChange; parent.ForkChanged += this.HandleValueChange; parent.Wheels.AsNotifiable().CollectionChanged += this.HandleCollectionChange; parent.HandleBarChanged += this.HandleValueChange; parent.RearSuspensionChanged += this.HandleValueChange; }
/// <summary> /// Creates a new instance /// </summary> public MountainBikePurposeCollection(IMountainBike parent) { this._parent = parent; }