Exemple #1
0
        private static String AssemblyQualifiedTypeName(this Type type)
        {
            RuntimeType runtimeType = type as RuntimeType;

            if (runtimeType == null)
            {
                return(null);
            }
            String nonqualifiedTypeName = runtimeType.NonQualifiedTypeName();

            if (nonqualifiedTypeName == null)
            {
                return(null);
            }
            String assemblyName = runtimeType.ContainingAssemblyName();

            if (assemblyName == null)
            {
                return(assemblyName);
            }
            return(nonqualifiedTypeName + ", " + assemblyName);
        }