internal static protected SyndicationLink CreateLink(SyndicationItem item)
 {
     if (item == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("item");
     }
     return(GetNonNullValue <SyndicationLink>(item.CreateLink(), SR.ItemCreatedNullPerson));
 }
 protected internal static SyndicationLink CreateLink(SyndicationItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     return(item.CreateLink());
 }
 internal static protected SyndicationLink CreateLink(SyndicationItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException(nameof(item));
     }
     return(GetNonNullValue <SyndicationLink>(item.CreateLink(), SR.ItemCreatedNullPerson));
 }
Esempio n. 4
0
 protected internal static SyndicationLink CreateLink(SyndicationItem item)
 {
     if (item == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("item");
     }
     return(GetNonNullValue <SyndicationLink>(item.CreateLink(), "ItemCreatedNullPerson"));
 }
Esempio n. 5
0
		protected internal static SyndicationLink CreateLink (SyndicationItem item)
		{
			if (item == null)
				throw new ArgumentNullException ("item");
			return item.CreateLink ();
		}