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