internal static protected SyndicationLink CreateLink(SyndicationItem item)
 {
     if (item == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("item");
     }
     return(GetNonNullValue <SyndicationLink>(item.CreateLink(), SR.ItemCreatedNullPerson));
 }
Exemplo n.º 2
0
 protected internal static SyndicationLink CreateLink(SyndicationItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     return(item.CreateLink());
 }
Exemplo n.º 3
0
 internal static protected SyndicationLink CreateLink(SyndicationItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException(nameof(item));
     }
     return(GetNonNullValue <SyndicationLink>(item.CreateLink(), SR.ItemCreatedNullPerson));
 }
Exemplo 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"));
 }
Exemplo n.º 5
0
		protected internal static SyndicationLink CreateLink (SyndicationItem item)
		{
			if (item == null)
				throw new ArgumentNullException ("item");
			return item.CreateLink ();
		}