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