public void AddDescendantStep <TDescriptor, TDescendant, TDescendantDescriptor>( Func <TDescriptor, IVMPropertyDescriptor <TDescendant> > descendatPropertySelector ) where TDescriptor : IVMDescriptor where TDescendantDescriptor : IVMDescriptor { _sourcePath = _sourcePath.Append(descendatPropertySelector); _terminatingAnyPropertyStep = CreateAnyPropertyStep <TDescendantDescriptor>(); }
public PathDefinition Append(PathDefinitionStep step) { return(new PathDefinition(ArrayUtils.Append(_steps, step))); }
public void AddSelfStep <TRootDescriptor>() where TRootDescriptor : IVMDescriptor { _terminatingAnyPropertyStep = CreateAnyPropertyStep <TRootDescriptor>(); }
public OptionalStep(PathDefinitionStep innerStep) { _innerStep = innerStep; }