Show / Hide Table of Contents

Class TextEvent

Event for representing plain text content (XML Text Nodes).

Inheritance
object
BaseEvent
BaseRdfXmlEvent
TextEvent
Implements
IRdfXmlEvent
IEvent
Inherited Members
BaseRdfXmlEvent.SourceXml
BaseEvent.EventType
BaseEvent.Position
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Parsing.Events.RdfXml
Assembly: dotNetRdf.dll
Syntax
public class TextEvent : BaseRdfXmlEvent, IRdfXmlEvent, IEvent

Constructors

| Edit this page View Source

TextEvent(string, string)

Creates a new Text Node.

Declaration
public TextEvent(string value, string sourceXml)
Parameters
Type Name Description
string value

Textual Content of the XML Text Node.

string sourceXml

Source XML of the Node.

| Edit this page View Source

TextEvent(string, string, PositionInfo)

Creates a new Text Node.

Declaration
public TextEvent(string value, string sourceXml, PositionInfo pos)
Parameters
Type Name Description
string value

Textual Content of the XML Text Node.

string sourceXml

Source XML of the Node.

PositionInfo pos

Position Info.

Properties

| Edit this page View Source

Value

Gets the Textual Content of the Event.

Declaration
public string Value { get; }
Property Value
Type Description
string

Methods

| Edit this page View Source

ToString()

Gets the String representation of the Event.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Implements

IRdfXmlEvent
IEvent

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • TextEvent(string, string)
    • TextEvent(string, string, PositionInfo)
  • Properties
    • Value
  • Methods
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX