Example #1
0
        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));
        }