Show / Hide Table of Contents

Class BaseRdfAEvent

Abstract Base Class for IRdfAEvent implementations.

Inheritance
object
BaseEvent
BaseRdfAEvent
Implements
IRdfAEvent
IEvent
Inherited Members
BaseEvent.EventType
BaseEvent.Position
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 BaseRdfAEvent : BaseEvent, IRdfAEvent, IEvent

Constructors

| Edit this page View Source

BaseRdfAEvent(int, PositionInfo, IEnumerable<KeyValuePair<string, string>>)

Creates a new RDFa Event.

Declaration
public BaseRdfAEvent(int eventType, PositionInfo pos, IEnumerable<KeyValuePair<string, string>> attributes)
Parameters
Type Name Description
int eventType

Event Type.

PositionInfo pos

Position Info.

IEnumerable<KeyValuePair<string, string>> attributes

Attributes.

Properties

| Edit this page View Source

Attributes

Gets the attributes of the event i.e. the attributes of the source element.

Declaration
public IEnumerable<KeyValuePair<string, string>> Attributes { get; }
Property Value
Type Description
IEnumerable<KeyValuePair<string, string>>
| Edit this page View Source

this[string]

Gets the value of a specific attribute.

Declaration
public string this[string name] { get; }
Parameters
Type Name Description
string name

Attribute Name.

Property Value
Type Description
string

Methods

| Edit this page View Source

HasAttribute(string)

Gets whether the Event has a given attribute.

Declaration
public bool HasAttribute(string name)
Parameters
Type Name Description
string name

Attribute Name.

Returns
Type Description
bool

Implements

IRdfAEvent
IEvent

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • BaseRdfAEvent(int, PositionInfo, IEnumerable<KeyValuePair<string, string>>)
  • Properties
    • Attributes
    • this[string]
  • Methods
    • HasAttribute(string)
  • Implements
  • Extension Methods
Back to top Generated by DocFX