Beispiel #1
0
 public void Init(IClrTypeCore core)
 {
     _Binding    = this;
     BindingCore = core;
     if (core != null && core.BindingType != null)
     {
         _Binding = core.BindingType;
     }
     TypeObjectWrapper = ClrObjectWrapper.GetFromPool(BindingType, null);
 }
Beispiel #2
0
 public void Init(Type type)
 {
     _Binding          = type;
     BindingCore       = ClrTypeCore.GetTypeCore(type);
     TypeObjectWrapper = ClrObjectWrapper.GetFromPool(type, null);
 }