Class BaseEvent
Abstract Base Class for IEvent implementations.
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Parsing.Events
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseEvent : IEvent
Constructors
| Improve this Doc View SourceBaseEvent(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. |
BaseEvent(int)
Creates a new Event.
Declaration
public BaseEvent(int eventType)
Parameters
Type | Name | Description |
---|---|---|
int | eventType | Event Type. |
Properties
| Improve this Doc 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.