| | |
| | | |
| | | private ILRuntime.Runtime.Enviorment.AppDomain _appdomain; |
| | | |
| | | public ILRuntime.Runtime.Enviorment.AppDomain appdomain |
| | | { |
| | | get |
| | | { |
| | | public ILRuntime.Runtime.Enviorment.AppDomain appdomain { |
| | | get { |
| | | return _appdomain; |
| | | } |
| | | } |
| | |
| | | domain.RegisterCrossBindingAdaptor(new DtcBasicAdapter()); |
| | | domain.RegisterCrossBindingAdaptor(new GameNetPackBasicAdapter()); |
| | | domain.RegisterCrossBindingAdaptor(new OperationBaseAdapter()); |
| | | domain.RegisterCrossBindingAdaptor(new IConfigPostProcessAdapter()); |
| | | } |
| | | |
| | | //注册值类型绑定 |
| | |
| | | appdomain.DelegateManager.RegisterMethodDelegate<DateTime>(); |
| | | appdomain.DelegateManager.RegisterMethodDelegate<System.Object>(); |
| | | appdomain.DelegateManager.RegisterMethodDelegate<global::ScrollerDataType, global::CellView>(); |
| | | appdomain.DelegateManager.RegisterMethodDelegate<int, LitJson.JsonData>(); |
| | | |
| | | //有返回值 |
| | | appdomain.DelegateManager.RegisterFunctionDelegate<int>(); |