Show / Hide Table of Contents

Class BaseRdfAEvent

Abstract Base Class for IRdfAEvent implementations.

Inheritance
System.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

| Improve this Doc 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.

System.Collections.Generic.IEnumerable<T><KeyValuePair<string, string>> attributes

Attributes.

Properties

| Improve this Doc 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
System.Collections.Generic.IEnumerable<T><KeyValuePair<string, string>>
| Improve this Doc 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

| Improve this Doc 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
System.Boolean

Implements

IRdfAEvent
IEvent

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • 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