internal static protected SyndicationPerson CreatePerson(SyndicationFeed feed)
 {
     if (feed == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("feed");
     }
     return(GetNonNullValue <SyndicationPerson>(feed.CreatePerson(), SR.FeedCreatedNullPerson));
 }
 internal static protected SyndicationPerson CreatePerson(SyndicationFeed feed)
 {
     if (feed == null)
     {
         throw new ArgumentNullException(nameof(feed));
     }
     return(GetNonNullValue <SyndicationPerson>(feed.CreatePerson(), SR.FeedCreatedNullPerson));
 }
 protected internal static SyndicationPerson CreatePerson(SyndicationFeed feed)
 {
     if (feed == null)
     {
         throw new ArgumentNullException("feed");
     }
     return(feed.CreatePerson());
 }
Esempio n. 4
0
 protected internal static SyndicationPerson CreatePerson(SyndicationFeed feed)
 {
     if (feed == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("feed");
     }
     return(GetNonNullValue <SyndicationPerson>(feed.CreatePerson(), "FeedCreatedNullPerson"));
 }
 protected internal static SyndicationPerson CreatePerson(SyndicationFeed feed)
 {
     if (feed == null)
         throw new ArgumentNullException ("feed");
     return feed.CreatePerson ();
 }