/// <summary> /// Executes the on feed start actions. /// </summary> /// <param name="feed">The feed.</param> internal void ExecuteOnFeedStartActions(ODataResourceSet feed) { Debug.Assert(feed != null, "feed != null"); if (this.readingStartFeedActions.Count > 0) { ReadingFeedArgs args = new ReadingFeedArgs(feed); foreach (Action <ReadingFeedArgs> feedAction in this.readingStartFeedActions) { feedAction(args); } } }
/// <summary> /// Executes the on feed end actions. /// </summary> /// <param name="feed">The feed.</param> internal void ExecuteOnFeedEndActions(ODataFeed feed) { Debug.Assert(feed != null, "entry != null"); if (this.readingEndFeedActions.Count > 0) { ReadingFeedArgs args = new ReadingFeedArgs(feed); foreach (Action <ReadingFeedArgs> feedAction in this.readingEndFeedActions) { feedAction(args); } } }
/// <summary> /// Executes the on feed start actions. /// </summary> /// <param name="feed">The feed.</param> internal void ExecuteOnFeedStartActions(ODataFeed feed) { Debug.Assert(feed != null, "feed != null"); if (this.readingStartFeedActions.Count > 0) { ReadingFeedArgs args = new ReadingFeedArgs(feed); foreach (Action<ReadingFeedArgs> feedAction in this.readingStartFeedActions) { feedAction(args); } } }