Click or drag to resize

LiteralExtensions Class

Provides extension methods for converting primitive types into appropriately typed Literal Nodes.
Inheritance Hierarchy
SystemObject
  VDS.RDFLiteralExtensions

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static class LiteralExtensions
Methods
  NameDescription
Public methodStatic memberToLiteral(Boolean, INodeFactory)
Creates a new Boolean typed literal.
Public methodStatic memberToLiteral(Byte, INodeFactory)
Creates a new Byte typed literal.
Public methodStatic memberToLiteral(DateTime, INodeFactory)
Creates a new Date Time typed literal.
Public methodStatic memberToLiteral(DateTimeOffset, INodeFactory)
Creates a new Date Time typed literal.
Public methodStatic memberToLiteral(Decimal, INodeFactory)
Creates a new Decimal typed literal.
Public methodStatic memberToLiteral(Double, INodeFactory)
Creates a new Double typed literal.
Public methodStatic memberToLiteral(Int16, INodeFactory)
Creates a new Integer typed literal.
Public methodStatic memberToLiteral(Int32, INodeFactory)
Creates a new Integer typed literal.
Public methodStatic memberToLiteral(Int64, INodeFactory)
Creates a new Integer typed literal.
Public methodStatic memberToLiteral(SByte, INodeFactory)
Creates a new Byte typed literal.
Public methodStatic memberToLiteral(Single, INodeFactory)
Creates a new Float typed literal.
Public methodStatic memberToLiteral(String, INodeFactory)
Creates a new String typed literal.
Public methodStatic memberToLiteral(TimeSpan, INodeFactory)
Creates a new duration typed literal.
Public methodStatic memberToLiteral(DateTime, INodeFactory, Boolean)
Creates a new Date Time typed literal.
Public methodStatic memberToLiteral(DateTimeOffset, INodeFactory, Boolean)
Creates a new Date Time typed literal.
Public methodStatic memberToLiteralDate(DateTime, INodeFactory)
Creates a new Date typed literal.
Public methodStatic memberToLiteralDate(DateTimeOffset, INodeFactory)
Creates a new Date typed literal.
Public methodStatic memberToLiteralTime(DateTime, INodeFactory)
Creates a new Time typed literal.
Public methodStatic memberToLiteralTime(DateTimeOffset, INodeFactory)
Creates a new Time typed literal.
Public methodStatic memberToLiteralTime(DateTime, INodeFactory, Boolean)
Creates a new Time typed literal.
Public methodStatic memberToLiteralTime(DateTimeOffset, INodeFactory, Boolean)
Creates a new Time typed literal.
Top
See Also