public static IMethodName GetDefinitionName(this MethodInfo method, TypeNameFlag flags = TypeNameFlag.Default) { var name = new MethodName(method, flags); var filter = new NamespaceFilter(); name.FilterNamespace(filter); filter.ClearNamespace(); return(name); }
public static ITypeName GetTypeName(this Type type, TypeNameFlag flags = TypeNameFlag.Default) { var name = TypeNameFactory.Create(type, flags); var filter = new NamespaceFilter(); name.FilterNamespace(filter); filter.ClearNamespace(); return(name); }