public static HostEntry GetInstance() { if (uniqueInstance == null) { uniqueInstance = new HostEntry(); } return(uniqueInstance); }
/// <summary> /// /// </summary> /// <param name="inEntity"></param> /// <returns></returns> public static JsonResult InvokeMethod(string serviceCode, string currentUserId, string acessToken, string currentSendParameter) { ServiceEntity service = HostEntry.GetInstance().QueryService(serviceCode); return((JsonResult)InvokeMethodBase(service.AssemblyName, service.ClassType, service.MethodName, currentUserId, acessToken, currentSendParameter, typeof(string))); }