Svg.SvgExtentions.HasNonEmptyCustomAttribute C# (CSharp) Méthode

HasNonEmptyCustomAttribute() public static méthode

public static HasNonEmptyCustomAttribute ( this element, string name ) : bool
element this
name string
Résultat bool
        public static bool HasNonEmptyCustomAttribute(this SvgElement element, string name)
        {
        	return element.CustomAttributes.ContainsKey(name) && !string.IsNullOrEmpty(element.CustomAttributes[name]);
        }