예제 #1
0
 protected internal static bool TryParseAttribute(string name, string ns, string value, SyndicationLink link, string version)
 {
     if (link == null)
     {
         throw new ArgumentNullException("link");
     }
     return(link.TryParseAttribute(name, ns, value, version));
 }
예제 #2
0
 protected internal static bool TryParseAttribute(string name, string ns, string value, SyndicationLink link, string version)
 {
     if (link == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("link");
     }
     return(FeedUtils.IsXmlns(name, ns) || link.TryParseAttribute(name, ns, value, version));
 }
 internal static protected bool TryParseAttribute(string name, string ns, string value, SyndicationLink link, string version)
 {
     if (link == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("link");
     }
     if (FeedUtils.IsXmlns(name, ns))
     {
         return(true);
     }
     return(link.TryParseAttribute(name, ns, value, version));
 }
예제 #4
0
 internal static protected bool TryParseAttribute(string name, string ns, string value, SyndicationLink link, string version)
 {
     if (link == null)
     {
         throw new ArgumentNullException(nameof(link));
     }
     if (FeedUtils.IsXmlns(name, ns))
     {
         return(true);
     }
     return(link.TryParseAttribute(name, ns, value, version));
 }
예제 #5
0
		protected internal static bool TryParseAttribute (string name, string ns, string value, SyndicationLink link, string version)
		{
			if (link == null)
				throw new ArgumentNullException ("link");
			return link.TryParseAttribute (name, ns, value, version);
		}