internal static protected SyndicationItem CreateItem(SyndicationFeed feed) { if (feed == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("feed"); } return(GetNonNullValue <SyndicationItem>(feed.CreateItem(), SR.FeedCreatedNullItem)); }
internal static protected SyndicationItem CreateItem(SyndicationFeed feed) { if (feed == null) { throw new ArgumentNullException(nameof(feed)); } return(GetNonNullValue <SyndicationItem>(feed.CreateItem(), SR.FeedCreatedNullItem)); }
protected internal static SyndicationItem CreateItem(SyndicationFeed feed) { if (feed == null) { throw new ArgumentNullException("feed"); } return(feed.CreateItem()); }
protected internal static SyndicationItem CreateItem(SyndicationFeed feed) { if (feed == null) { throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("feed"); } return(GetNonNullValue <SyndicationItem>(feed.CreateItem(), "FeedCreatedNullItem")); }
protected internal static SyndicationItem CreateItem(SyndicationFeed feed) { if (feed == null) throw new ArgumentNullException ("feed"); return feed.CreateItem (); }