Show / Hide Table of Contents

Class LongNode

A Valued Node with a Long value.

Inheritance
object
BaseNode
BaseLiteralNode
LiteralNode
NumericNode
LongNode
Implements
ILiteralNode
IEquatable<BaseLiteralNode>
IComparable<BaseLiteralNode>
IEquatable<LiteralNode>
IComparable<LiteralNode>
IValuedNode
INode
IComparable<INode>
IComparable<IBlankNode>
IComparable<IGraphLiteralNode>
IComparable<ILiteralNode>
IComparable<IUriNode>
IComparable<IVariableNode>
IComparable<IRefNode>
IComparable<ITripleNode>
IEquatable<INode>
IEquatable<IBlankNode>
IEquatable<IGraphLiteralNode>
IEquatable<ILiteralNode>
IEquatable<IUriNode>
IEquatable<IVariableNode>
IEquatable<IRefNode>
IEquatable<ITripleNode>
Inherited Members
NumericNode.AsString()
NumericNode.AsBoolean()
NumericNode.AsDateTime()
NumericNode.AsDateTimeOffset()
NumericNode.AsTimeSpan()
NumericNode.EffectiveType
NumericNode.NumericType
LiteralNode.CompareTo(LiteralNode)
LiteralNode.Equals(LiteralNode)
BaseLiteralNode.Value
BaseLiteralNode.Language
BaseLiteralNode.DataType
BaseLiteralNode.Equals(object)
BaseLiteralNode.GetHashCode()
BaseLiteralNode.Equals(INode)
BaseLiteralNode.Equals(IRefNode)
BaseLiteralNode.Equals(IBlankNode)
BaseLiteralNode.Equals(IGraphLiteralNode)
BaseLiteralNode.Equals(ILiteralNode)
BaseLiteralNode.Equals(IUriNode)
BaseLiteralNode.Equals(IVariableNode)
BaseLiteralNode.Equals(ITripleNode)
BaseLiteralNode.Equals(BaseLiteralNode)
BaseLiteralNode.ToString()
BaseLiteralNode.CompareTo(INode)
BaseLiteralNode.CompareTo(IRefNode)
BaseLiteralNode.CompareTo(IBlankNode)
BaseLiteralNode.CompareTo(ILiteralNode)
BaseLiteralNode.CompareTo(IGraphLiteralNode)
BaseLiteralNode.CompareTo(IUriNode)
BaseLiteralNode.CompareTo(IVariableNode)
BaseLiteralNode.CompareTo(ITripleNode)
BaseLiteralNode.CompareTo(BaseLiteralNode)
BaseNode._nodeType
BaseNode.NodeType
BaseNode.ToString(INodeFormatter)
BaseNode.ToString(INodeFormatter, TripleSegment)
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Nodes
Assembly: dotNetRdf.dll
Syntax
public class LongNode : NumericNode, ILiteralNode, IEquatable<BaseLiteralNode>, IComparable<BaseLiteralNode>, IEquatable<LiteralNode>, IComparable<LiteralNode>, IValuedNode, INode, IComparable<INode>, IComparable<IBlankNode>, IComparable<IGraphLiteralNode>, IComparable<ILiteralNode>, IComparable<IUriNode>, IComparable<IVariableNode>, IComparable<IRefNode>, IComparable<ITripleNode>, IEquatable<INode>, IEquatable<IBlankNode>, IEquatable<IGraphLiteralNode>, IEquatable<ILiteralNode>, IEquatable<IUriNode>, IEquatable<IVariableNode>, IEquatable<IRefNode>, IEquatable<ITripleNode>

Constructors

| Edit this page View Source

LongNode(long)

Creates a new long valued node.

Declaration
public LongNode(long value)
Parameters
Type Name Description
long value

Long value.

| Edit this page View Source

LongNode(long, string)

Creates a new long valued node.

Declaration
public LongNode(long value, string lexicalValue)
Parameters
Type Name Description
long value

Long value.

string lexicalValue

Lexical Value.

| Edit this page View Source

LongNode(long, string, Uri)

Creates a new long valued node.

Declaration
public LongNode(long value, string lexicalValue, Uri datatype)
Parameters
Type Name Description
long value

Long value.

string lexicalValue

Lexical Value.

Uri datatype

Datatype URI.

Methods

| Edit this page View Source

AsDecimal()

Gets the decimal value of the long.

Declaration
public override decimal AsDecimal()
Returns
Type Description
decimal
Overrides
NumericNode.AsDecimal()
| Edit this page View Source

AsDouble()

Gets the double value of the long.

Declaration
public override double AsDouble()
Returns
Type Description
double
Overrides
NumericNode.AsDouble()
| Edit this page View Source

AsFloat()

Gets the float value of the long.

Declaration
public override float AsFloat()
Returns
Type Description
float
Overrides
NumericNode.AsFloat()
| Edit this page View Source

AsInteger()

Gets the long value.

Declaration
public override long AsInteger()
Returns
Type Description
long
Overrides
NumericNode.AsInteger()

Implements

ILiteralNode
IEquatable<T>
IComparable<T>
IEquatable<T>
IComparable<T>
IValuedNode
INode
IComparable<T>
IComparable<T>
IComparable<T>
IComparable<T>
IComparable<T>
IComparable<T>
IComparable<T>
IComparable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>

Extension Methods

Extensions.ToSafeString(object)
DynamicExtensions.AsDynamic(INode, IGraph, Uri)
Extensions.EffectiveBooleanValue(INode)
Extensions.IsListRoot(INode, IGraph)
ValuedNodeExtensions.AsValuedNode(INode)
ValuedNodeExtensions.AsSafeBoolean(IValuedNode)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • LongNode(long)
    • LongNode(long, string)
    • LongNode(long, string, Uri)
  • Methods
    • AsDecimal()
    • AsDouble()
    • AsFloat()
    • AsInteger()
  • Implements
  • Extension Methods
Back to top Generated by DocFX