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

| Improve this Doc View Source

Count

Gets the number of Events in the Queue.
Declaration
int Count { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

EventGenerator

Gets the Event Generator that this Queue uses.
Declaration
IEventGenerator<T> EventGenerator { get; }
Property Value
Type Description
IEventGenerator<T>
| Improve this Doc View Source

LastEventType

Gets the Event Type of the last Event dequeued.
Declaration
int LastEventType { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Tracing

Gets/Sets whether Generator Tracing should be used.
Declaration
bool Tracing { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Clear()

Clears the Event Queue.
Declaration
void Clear()
| Improve this Doc View Source

Dequeue()

Removes the first Event from the Queue.
Declaration
T Dequeue()
Returns
Type Description
T
| Improve this Doc 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.
| Improve this Doc View Source

Peek()

Gets the first Event from the Queue without removing it.
Declaration
T Peek()
Returns
Type Description
T

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • Count
    • EventGenerator
    • LastEventType
    • Tracing
  • Methods
    • Clear()
    • Dequeue()
    • Enqueue(T)
    • Peek()
  • Extension Methods
Back to top Generated by DocFX