Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the IndexingPolicy class.
 /// </summary>
 /// <param name="automatic">Indicates if the indexing policy is
 /// automatic</param>
 /// <param name="indexingMode">Indicates the indexing mode. Possible
 /// values include: 'Consistent', 'Lazy', 'None'</param>
 /// <param name="includedPaths">List of paths to include in the
 /// indexing</param>
 /// <param name="excludedPaths">List of paths to exclude from
 /// indexing</param>
 public IndexingPolicy(bool?automatic = default(bool?), IndexingMode indexingMode = default(IndexingMode), IList <IncludedPath> includedPaths = default(IList <IncludedPath>), IList <ExcludedPath> excludedPaths = default(IList <ExcludedPath>))
 {
     Automatic     = automatic;
     IndexingMode  = indexingMode;
     IncludedPaths = includedPaths;
     ExcludedPaths = excludedPaths;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the IndexingPolicy class.
 /// </summary>
 /// <param name="automatic">Indicates if the indexing policy is
 /// automatic</param>
 /// <param name="indexingMode">Indicates the indexing mode. Possible
 /// values include: 'Consistent', 'Lazy', 'None'</param>
 /// <param name="includedPaths">List of paths to include in the
 /// indexing</param>
 /// <param name="excludedPaths">List of paths to exclude from
 /// indexing</param>
 /// <param name="compositeIndexes">List of composite path list</param>
 /// <param name="spatialIndexes">List of spatial specifics</param>
 public IndexingPolicy(bool?automatic = default(bool?), IndexingMode indexingMode = default(IndexingMode), IList <IncludedPath> includedPaths = default(IList <IncludedPath>), IList <ExcludedPath> excludedPaths = default(IList <ExcludedPath>), IList <IList <CompositePath> > compositeIndexes = default(IList <IList <CompositePath> >), IList <SpatialSpec> spatialIndexes = default(IList <SpatialSpec>))
 {
     Automatic        = automatic;
     IndexingMode     = indexingMode;
     IncludedPaths    = includedPaths;
     ExcludedPaths    = excludedPaths;
     CompositeIndexes = compositeIndexes;
     SpatialIndexes   = spatialIndexes;
     CustomInit();
 }