public Wrap ( object obj, bool initialized ) : void | ||
obj | object | |
initialized | bool | |
return | void |
public virtual void Wrap(object obj, bool initialized)
{
this.wrapped = obj;
wrappers [GetIndentityObject (obj)] = this;
}
internal static void Bind(IProject proj, ClassDescriptor klass, ObjectWrapper wrapper, object wrapped, bool initialized) { wrapper.proj = proj; wrapper.classDescriptor = klass; wrapper.Wrap(wrapped, initialized); wrapper.OnWrapped(); }