protected override IConfigurable PrepareDataObject() { HotmailSubscriptionProxy hotmailSubscriptionProxy = base.PrepareDataObject() as HotmailSubscriptionProxy; if (this.accountSettings != null) { DeltaSyncAggregationSubscription deltaSyncAggregationSubscription = hotmailSubscriptionProxy.Subscription as DeltaSyncAggregationSubscription; DeltaSyncAutoProvision.UpdateSubscriptionSettings(this.accountSettings, ref deltaSyncAggregationSubscription); } return(hotmailSubscriptionProxy); }
protected override void StampChangesOn(IConfigurable dataObject) { TaskLogger.LogEnter(); base.StampChangesOn(dataObject); HotmailSubscriptionProxy hotmailSubscriptionProxy = dataObject as HotmailSubscriptionProxy; DeltaSyncAggregationSubscription deltaSyncAggregationSubscription = hotmailSubscriptionProxy.Subscription as DeltaSyncAggregationSubscription; if (this.accountSettings != null) { DeltaSyncAutoProvision.UpdateSubscriptionSettings(this.accountSettings, ref deltaSyncAggregationSubscription); } TaskLogger.LogExit(); }