Class BaseEvent
Abstract Base Class for IEvent implementations.
Implements
Inherited Members
Namespace: VDS.RDF.Parsing.Events
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseEvent : IEvent
Constructors
| Edit this page View SourceBaseEvent(int)
Creates a new Event.
Declaration
public BaseEvent(int eventType)
Parameters
Type | Name | Description |
---|---|---|
int | eventType | Event Type. |
BaseEvent(int, PositionInfo)
Creates a new Event.
Declaration
public BaseEvent(int eventType, PositionInfo info)
Parameters
Type | Name | Description |
---|---|---|
int | eventType | Event Type. |
PositionInfo | info | Position Information. |
Properties
| Edit this page View SourceEventType
Gets the Type for this Event.
Declaration
public int EventType { get; }
Property Value
Type | Description |
---|---|
int |
Position
Gets the Position Information (if any).
Declaration
public PositionInfo Position { get; }
Property Value
Type | Description |
---|---|
PositionInfo |
Remarks
Availability of Position Information depends on the how the source document was parsed.