public void Callback_Return(PayingCallbackEntity entity) { try { //注入实例 instance = container.Resolve <IBank>(entity.IOC_Class_Alias); } catch (Exception e) { Common.LogIt(e.ToString()); throw; } instance.Callback_Return(entity); }