Skip to content

RebuildingShapeFileFeatureSourceEventArgs

Namespace: ThinkGeo.Core

This class represents the parameters passed in through the BuildingIndex event in ShapeFileFeatureSource class.

public class RebuildingShapeFileFeatureSourceEventArgs : System.EventArgs

Inheritance ObjectEventArgsRebuildingShapeFileFeatureSourceEventArgs

Remarks:

None

Properties

RecordCount

Gets the total record count to build rTree index.

public long RecordCount { get; }

Property Value

Int64

CurrentRecordIndex

Gets the current record index for building rTree index.

public long CurrentRecordIndex { get; }

Property Value

Int64

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

Boolean

ShapePathFilename

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(Int64, Int64, Feature, DateTime, Boolean)

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 Int64

currentRecordIndex Int64

currentFeature Feature

startProcessTime DateTime

cancel Boolean

RebuildingShapeFileFeatureSourceEventArgs(Int64, Int64, Feature, DateTime, Boolean, String)

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

Parameters

recordCount Int64

currentRecordIndex Int64

currentFeature Feature

startProcessTime DateTime

cancel Boolean

shapePathFilename String