protected internal static bool TryParseAttribute(string name, string ns, string value, SyndicationItem item, string version)
 {
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     return(item.TryParseAttribute(name, ns, value, version));
 }
Example #2
0
 protected internal static bool TryParseAttribute(string name, string ns, string value, SyndicationItem item, string version)
 {
     if (item == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("item");
     }
     return(FeedUtils.IsXmlns(name, ns) || item.TryParseAttribute(name, ns, value, version));
 }
 internal static protected bool TryParseAttribute(string name, string ns, string value, SyndicationItem item, string version)
 {
     if (item == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("item");
     }
     if (FeedUtils.IsXmlns(name, ns))
     {
         return(true);
     }
     return(item.TryParseAttribute(name, ns, value, version));
 }
 internal static protected bool TryParseAttribute(string name, string ns, string value, SyndicationItem item, string version)
 {
     if (item == null)
     {
         throw new ArgumentNullException(nameof(item));
     }
     if (FeedUtils.IsXmlns(name, ns))
     {
         return(true);
     }
     return(item.TryParseAttribute(name, ns, value, version));
 }
		protected internal static bool TryParseAttribute (string name, string ns, string value, SyndicationItem item, string version)
		{
			if (item == null)
				throw new ArgumentNullException ("item");
			return item.TryParseAttribute (name, ns, value, version);
		}