Exemplo n.º 1
0
 public static HostEntry GetInstance()
 {
     if (uniqueInstance == null)
     {
         uniqueInstance = new HostEntry();
     }
     return(uniqueInstance);
 }
Exemplo n.º 2
0
        /// <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)));
        }