Skip to content

RebuildingShapeFileFeatureSourceEventArgs

Namespace: ThinkGeo.Core

Provides data for events raised while rebuilding shapefile indexes.

public class RebuildingShapeFileFeatureSourceEventArgs : System.EventArgs

Inheritance objectEventArgsRebuildingShapeFileFeatureSourceEventArgs

Properties

RecordCount

Gets the total record count to build rTree index.

public long RecordCount { get; }

Property Value

long

CurrentRecordIndex

Gets the current record index for building rTree index.

public long CurrentRecordIndex { get; }

Property Value

long

CurrentFeature

Gets the current feature for building rTree index.

public Feature CurrentFeature { get; }

Property Value

Feature

StartProcessTime

Gets the starting process time for building the index.

public DateTime StartProcessTime { get; }

Property Value

DateTime

Cancel

Gets or sets to see if we need to cancel the building index of current record.

public bool Cancel { get; set; }

Property Value

bool

ShapePathFilename

Gets the path of the shapefile whose indexes are being rebuilt.

public string ShapePathFilename { get; }

Property Value

string

Constructors

RebuildingShapeFileFeatureSourceEventArgs()

This is the default constructor of the event args.

public RebuildingShapeFileFeatureSourceEventArgs()

Remarks:

If you use this constructor, you have to set the properties manually.

RebuildingShapeFileFeatureSourceEventArgs(long, long, Feature, DateTime, bool)

This is the constructor of the event args by passing the desired parameters.

public RebuildingShapeFileFeatureSourceEventArgs(long recordCount, long currentRecordIndex, Feature currentFeature, DateTime startProcessTime, bool cancel)

Parameters

recordCount long

currentRecordIndex long

currentFeature Feature

startProcessTime DateTime

cancel bool

RebuildingShapeFileFeatureSourceEventArgs(long, long, Feature, DateTime, bool, string)

Initializes a new instance of the RebuildingShapeFileFeatureSourceEventArgs class.

public RebuildingShapeFileFeatureSourceEventArgs(long recordCount, long currentRecordIndex, Feature currentFeature, DateTime startProcessTime, bool cancel, string shapePathFilename)

Parameters

recordCount long

currentRecordIndex long

currentFeature Feature

startProcessTime DateTime

cancel bool

shapePathFilename string