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); }
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); }