public string GetViewUrl(object obj, string specified) { if (obj == null) { return(""); } string typeName = GetTypeNameFromType(obj.GetType()); string id = GetObjectIdentity(obj); return(UrlFactory.GetObjectViewUrl(typeName, id, specified)); }