Show / Hide Table of Contents

Interface IEventQueue<T>

Interface for implementing Event Queues which provide Bufferable wrappers to Event Generators.

Namespace: VDS.RDF.Parsing.Events
Assembly: dotNetRdf.dll
Syntax
public interface IEventQueue<T> where T : IEvent
Type Parameters
Name Description
T

Properties

| Edit this page View Source

Count

Gets the number of Events in the Queue.

Declaration
int Count { get; }
Property Value
Type Description
int
| Edit this page View Source

EventGenerator

Gets the Event Generator that this Queue uses.

Declaration
IEventGenerator<T> EventGenerator { get; }
Property Value
Type Description
IEventGenerator<T>
| Edit this page View Source

LastEventType

Gets the Event Type of the last Event dequeued.

Declaration
int LastEventType { get; }
Property Value
Type Description
int
| Edit this page View Source

Tracing

Gets/Sets whether Generator Tracing should be used.

Declaration
bool Tracing { get; set; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

Clear()

Clears the Event Queue.

Declaration
void Clear()
| Edit this page View Source

Dequeue()

Removes the first Event from the Queue.

Declaration
T Dequeue()
Returns
Type Description
T
| Edit this page View Source

Enqueue(T)

Adds an Event to the end of the Queue.

Declaration
void Enqueue(T e)
Parameters
Type Name Description
T e

Event to add.

| Edit this page View Source

Peek()

Gets the first Event from the Queue without removing it.

Declaration
T Peek()
Returns
Type Description
T

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Properties
    • Count
    • EventGenerator
    • LastEventType
    • Tracing
  • Methods
    • Clear()
    • Dequeue()
    • Enqueue(T)
    • Peek()
  • Extension Methods
Back to top Generated by DocFX