protected TypeMemberDescriptor(MemberInfo member, string name, Type propertyType) :
                base(ChooseName(name, member.Name), null)
            {
                Debug.Assert(propertyType != null);

                _impl         = this;
                _propertyType = propertyType;
            }
            IPropertyImpl IPropertyCustomization.OverrideImpl(IPropertyImpl impl)
            {
                if (impl == null)
                {
                    throw new ArgumentNullException("impl");
                }

                IPropertyImpl baseImpl = _impl;

                _impl = impl;
                return(baseImpl);
            }
Beispiel #3
0
 IPropertyImpl IPropertyCustomization.OverrideImpl(IPropertyImpl impl)
 {
     if (impl == null)
         throw new ArgumentNullException("impl");
     
     IPropertyImpl baseImpl = _impl;
     _impl = impl;
     return baseImpl;
 }
Beispiel #4
0
 protected TypeMemberDescriptor(MemberInfo member, string name , Type propertyType) : 
     base(ChooseName(name, member.Name), null)
 {
     Debug.Assert(propertyType != null);
     
     _impl = this;
     _propertyType = propertyType;
 }
 public IPropertyImpl OverrideImpl(IPropertyImpl impl) { throw new NotImplementedException(); }
Beispiel #6
0
 public IPropertyImpl OverrideImpl(IPropertyImpl impl)
 {
     throw new NotImplementedException();
 }