示例#1
0
            VisitStatus IPropertyVisitor.VisitProperty <TProperty2, TContainer2, TValue2>(TProperty2 property, ref TContainer2 container, ref ChangeTracker changeTracker)
            {
                var propName = property.GetName();

                if (propName != PropertyIdentifier)
                {
                    return(VisitStatus.Handled);
                }
                if (Result != null)
                {
                    return(VisitStatus.Handled);
                }
                Result = new PropertyPathContext <TContainer, TValue2>(Parent, Root, ParserUtils.MakePathRelative(PropertyPart), Container, RootPath.Appended(PropertyPart), ContextFieldInfo.Make(PropertyPart));
                return(VisitStatus.Handled);
            }