Esempio n. 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>();
 }
Esempio n. 2
0
 public PathDefinition Append(PathDefinitionStep step)
 {
     return(new PathDefinition(ArrayUtils.Append(_steps, step)));
 }
Esempio n. 3
0
 public void AddSelfStep <TRootDescriptor>()
     where TRootDescriptor : IVMDescriptor
 {
     _terminatingAnyPropertyStep = CreateAnyPropertyStep <TRootDescriptor>();
 }
Esempio n. 4
0
 public OptionalStep(PathDefinitionStep innerStep)
 {
     _innerStep = innerStep;
 }