/// <summary> /// Defines the <see cref="Container"/>'s <see cref="IndexingPolicy.ExcludedPaths"/>. /// </summary> /// <returns>An instance of <see cref="PathsDefinition{T}"/>.</returns> public PathsDefinition <IndexingPolicyDefinition <T> > WithExcludedPaths() { if (this.excludedPathsBuilder == null) { this.excludedPathsBuilder = new PathsDefinition <IndexingPolicyDefinition <T> >( this, (paths) => this.AddExcludedPaths(paths)); } return(this.excludedPathsBuilder); }
/// <summary> /// Defines the <see cref="Container"/>'s <see cref="IndexingPolicy.IncludedPaths"/>. /// </summary> /// <returns>An instance of <see cref="PathsDefinition{T}"/>.</returns> public virtual PathsDefinition <IndexingPolicyDefinition <T> > WithIncludedPaths() { if (this.includedPathsBuilder == null) { this.includedPathsBuilder = new PathsDefinition <IndexingPolicyDefinition <T> >( this, (paths) => this.AddIncludedPaths(paths)); } return(this.includedPathsBuilder); }