Exemple #1
0
        public static string RemapTypeName(this ITypeMapper mapper, TypeKind typeKind, string typeName, Dictionary <string, string> remappedTypes)
        {
            var newTypeName = mapper.GetRemappedTypeName(typeKind, typeName);

            if (newTypeName != typeName)
            {
                remappedTypes.Add(typeName, newTypeName);
            }

            return(newTypeName);
        }