示例#1
0
        public int GetBalance(string IOC_Class_Alias)
        {
            try
            {
                //注入实例
                instance = container.Resolve <ISMS>(IOC_Class_Alias);
            }
            catch (Exception e)
            {
                Common.LogIt(e.ToString());
                throw;
            }

            int result = instance.GetBalance(IOC_Class_Alias);

            return(result);
        }