Esempio n. 1
0
        public override IReflectionVisitor <IEnumerable> Visit(
            PropertyInfoElement propertyInfoElement)
        {
            var v = new SemanticComparisonValue(
                propertyInfoElement.PropertyInfo.Name,
                propertyInfoElement.PropertyInfo.PropertyType);

            return(new SemanticReflectionVisitor(
                       this.values.Concat(new[] { v }).ToArray()));
        }
Esempio n. 2
0
        public override IReflectionVisitor <IEnumerable> Visit(
            FieldInfoElement fieldInfoElement)
        {
            var v = new SemanticComparisonValue(
                fieldInfoElement.FieldInfo.Name,
                fieldInfoElement.FieldInfo.FieldType);

            return(new SemanticReflectionVisitor(
                       this.values.Concat(new[] { v }).ToArray()));
        }