예제 #1
0
        /// <inheritdoc/>
        public void VisitProperty(PropertyInfo propertyInfo)
        {
            if (_typeBuilder.IsConcreteProperty(propertyInfo) && !_interceptionFilter.AcceptProperty(propertyInfo))
            {
                return;
            }

            _typeBuilder.BuildProperty(propertyInfo);
            _propertyInfos.Add(propertyInfo);
        }
예제 #2
0
        /// <inheritdoc/>
        void IProxyDefinitionVisitor.VisitProperty(PropertyInfo propertyInfo)
        {
            if (_typeBuilder.IsConcreteProperty(propertyInfo) && !_interceptionFilter.AcceptProperty(propertyInfo))
            {
                return;
            }

            _typeBuilder.BuildProperty(propertyInfo);
            _propertyInfos.Add(propertyInfo);
        }