public static void BuildIndexFile(string pathFilename) { //Validators.CheckParameterIsNotNull(pathFilename, "pathFileName"); //Validators.CheckShapeFileNameIsValid(pathFilename, "pathFileName"); TobinBasFeatureSource.BuildIndexFile(pathFilename); }
protected override void BuildIndexCore(FeatureLayer featureLayer) { TobinBasFeatureSource.BuildingIndex += TobinBasFeatureSource_BuildingIndex; var uri = LayerPlugin.GetUri(featureLayer); if (uri != null) { TobinBasFeatureSource.BuildIndexFile(uri.LocalPath, Path.ChangeExtension(uri.LocalPath, ".idx"), null, string.Empty, string.Empty, BuildIndexMode.DoNotRebuild); } }