Microsoft.Web.Administration.StringExtensions.ElementTagNameToName C# (CSharp) Méthode

ElementTagNameToName() public static méthode

public static ElementTagNameToName ( this tag ) : string
tag this
Résultat string
        public static string ElementTagNameToName(this string tag)
        {
            return tag.Contains("/") ? tag.Substring(tag.LastIndexOf('/') + 1) : tag;
        }
    }