public static String To(IMember member, String aController, String action, long id, long appId) { String ownerPath = LinkHelper.GetMemberPathPrefix(member); String url = toPrivate(aController, action, id); if (url == null) { return(null); } url = LinkHelper.addAppId(url, appId); return(appendExt(strUtil.Join(ownerPath, url))); }
public static string To(string memberType, string memberUrl, aActionWithId action, long id, long appId) { String ownerPath = LinkHelper.GetMemberPathPrefix(memberType, memberUrl); String url = toPrivate(action, id); if (url == null) { return(null); } url = LinkHelper.addAppId(url, appId); return(appendExt(strUtil.Join(ownerPath, url))); }