ServiceStack.NativeTypes.CSharp.CSharpGenerator.NameOnly C# (CSharp) Méthode

NameOnly() public static méthode

public static NameOnly ( string type, bool includeNested = false ) : string
type string
includeNested bool
Résultat string
        public static string NameOnly(string type, bool includeNested = false)
        {
            var name = type.LeftPart('`');

            if (!includeNested)
                name = name.LastRightPart('.');

            return name.SafeToken();
        }