Exemplo n.º 1
0
 /// <summary>
 ///   If a descendant is validated, it has to enable the appropriate behaviors
 ///   itself, because we can only modify our own descriptor (the user has to
 ///   call <see cref="RootValidatorBuilder{TOwner, TTarget, TDescriptor}.EnableParentValidation"/> manually).
 /// </summary>
 private static bool PathSelectsDescendant(PathDefinition descendantsPath)
 {
     return(!descendantsPath.IsEmpty);
 }