ServiceStack.UrlExtensions.GetOperationName C# (CSharp) Метод

GetOperationName() публичный статический Метод

public static GetOperationName ( this type ) : string
type this
Результат string
        public static string GetOperationName(this Type type)
        {
            var typeName = type.FullName?.LeftPart("[[")   //Generic Fullname
                .Replace(type.Namespace + ".", "") //Trim Namespaces
                .Replace("+", ".") ?? type.Name;

            return type.IsGenericParameter ? "'" + typeName : typeName;
        }