Beispiel #1
0
        public static BindableObjectWithIdentityBaseImplementation Create(BindableObjectWithIdentityBase wrapper)
        {
            ArgumentUtility.CheckNotNull("wrapper", wrapper);
            Assertion.DebugAssert(!TypeExtensions.CanAscribeTo(typeof(BindableObjectWithIdentityBaseImplementation), typeof(Mixin <,>)),
                                  "we assume the mixin does not have a base object");
            var impl = new BindableObjectWithIdentityBaseImplementation(wrapper);

            ((IInitializableMixin)impl).Initialize(wrapper, null, false);
            return(impl);
        }
Beispiel #2
0
 protected BindableObjectWithIdentityBaseImplementation(BindableObjectWithIdentityBase wrapper)
 {
     ArgumentUtility.CheckNotNull("wrapper", wrapper);
     _wrapper = wrapper;
 }