public void Remove(IPropertyAnimation propertyAnimation) { PropertyAnimations.Remove(propertyAnimation); }
void IEditableNodeAnimationCollection.RemovePropertyAnimation(ulong propertyAnimationId, PropertyType property) { PropertyAnimations.Remove(property); _messageBus.Publish(new PropertyAnimationRemoved(propertyAnimationId, Animation.Id, Node.Id, property)); }
public void Add(IPropertyAnimation propertyAnimation) { PropertyAnimations.Add(propertyAnimation); }
void IEditableNodeAnimationCollection.AddPropertyAnimation(PropertyAnimation propertyAnimation) { PropertyAnimations.Add(propertyAnimation.Property, propertyAnimation); _messageBus.Publish(new PropertyAnimationAdded(propertyAnimation.Id, Animation.Id, Node.Id, propertyAnimation.Property)); }