Class BaseRdfAEvent
Abstract Base Class for IRdfAEvent implementations.
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 BaseRdfAEvent : BaseEvent, IRdfAEvent, IEvent
Constructors
| Improve this Doc View SourceBaseRdfAEvent(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 SourceAttributes
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>> |
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 SourceHasAttribute(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 |