Nimbus.Infrastructure.PathFactory.StripGenericQualification C# (CSharp) Method

StripGenericQualification() private static method

private static StripGenericQualification ( Type type ) : string
type System.Type
return string
        private static string StripGenericQualification(Type type)
        {
            if (!type.IsGenericType) return type.FullName;

            var genericArgs = type.GetGenericArguments().Select(arg => arg.Name);

            return type.Namespace + "." + type.Name + "-" + string.Join("-", genericArgs);
        }