public PropagatingPropertyWriter(PropertyMember ownerProperty, IOperand target) : base(ownerProperty) { if (OwnerProperty.GetterMethod != null) { var getter = new PropagatingMethodWriter(OwnerProperty.GetterMethod, target); } if (OwnerProperty.SetterMethod != null) { var setter = new PropagatingMethodWriter(OwnerProperty.SetterMethod, target); } }
public PropagatingEventWriter(EventMember ownerEvent, IOperand target) : base(ownerEvent) { var addOn = new PropagatingMethodWriter(OwnerEvent.AddMethod, target); var removeOn = new PropagatingMethodWriter(OwnerEvent.RemoveMethod, target); }