internal static protected SyndicationLink CreateLink(SyndicationFeed feed)
 {
     if (feed == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("feed");
     }
     return(GetNonNullValue <SyndicationLink>(feed.CreateLink(), SR.FeedCreatedNullPerson));
 }
 internal static protected SyndicationLink CreateLink(SyndicationFeed feed)
 {
     if (feed == null)
     {
         throw new ArgumentNullException(nameof(feed));
     }
     return(GetNonNullValue <SyndicationLink>(feed.CreateLink(), SR.FeedCreatedNullPerson));
 }
 protected internal static SyndicationLink CreateLink(SyndicationFeed feed)
 {
     if (feed == null)
     {
         throw new ArgumentNullException("feed");
     }
     return(feed.CreateLink());
 }
示例#4
0
 protected internal static SyndicationLink CreateLink(SyndicationFeed feed)
 {
     if (feed == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("feed");
     }
     return(GetNonNullValue <SyndicationLink>(feed.CreateLink(), "FeedCreatedNullPerson"));
 }
 protected internal static SyndicationLink CreateLink(SyndicationFeed feed)
 {
     if (feed == null)
         throw new ArgumentNullException ("feed");
     return feed.CreateLink ();
 }