Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Waher.Content Namespace Reference

Classes

class  Base32
 Static class that does BASE32 encoding and decoding as defined in RFC4648: https://datatracker.ietf.org/doc/html/rfc4648 More...
 
class  Base64Url
 Static class that does BASE64URL encoding (using URL and filename safe alphabet), as defined in RFC4648: https://tools.ietf.org/html/rfc4648#section-5 More...
 
class  ColorReference
 Color reference. Separate class to avoid reference to Windows Forms or WPF libraries. More...
 
class  CommonTypes
 Helps with parsing of commong data types. More...
 
class  ContentBinaryResponse
 Contains information about a binary response to a content request. More...
 
class  ContentResponse
 Contains information about a response to a content request. More...
 
class  ContentStreamResponse
 Contains information about a stream response to a content request. More...
 
class  ConversionSequence
 Internal class that performs content conversion by joining a sequence of conversions into one larger.
 
class  ConversionState
 Contains the state of a content conversion process. More...
 
class  CSV
 Helps with common CSV-related tasks. (CSV=Comma Separated Values) More...
 
struct  Duration
 Represents a duration value, as defined by the xsd:duration data type: http://www.w3.org/TR/xmlschema-2/#duration More...
 
interface  ICodecProgress
 Interface for reporting progress about an encoding or decoding. More...
 
interface  IContentConverter
 Basic interface for Internet Content encoders. A class implementing this interface and having a default constructor, will be able to partake in object encodings through the static InternetContent class. No registration is required. More...
 
interface  IContentDecoder
 Basic interface for Internet Content decoders. A class implementing this interface and having a default constructor, will be able to partake in object decodings through the static InternetContent class. No registration is required. More...
 
interface  IContentDeleter
 Basic interface for Internet Content deleters. A class implementing this interface and having a default constructor, will be able to partake in deleting content through the static InternetContent class. No registration is required. More...
 
interface  IContentEncoder
 Basic interface for Internet Content encoders. A class implementing this interface and having a default constructor, will be able to partake in object encodings through the static InternetContent class. No registration is required. More...
 
interface  IContentGetter
 Basic interface for Internet Content getters. A class implementing this interface and having a default constructor, will be able to partake in retrieving content through the static InternetContent class. No registration is required. More...
 
interface  IContentHeader
 Basic interface for Internet Content headers. A class implementing this interface and having a default constructor, will be able to partake in retrieving headers through the static InternetContent class. No registration is required. More...
 
interface  IContentPoster
 Basic interface for Internet Content posters. A class implementing this interface and having a default constructor, will be able to partake in posting content through the static InternetContent class. No registration is required. More...
 
interface  IContentPutter
 Basic interface for Internet Content putters. A class implementing this interface and having a default constructor, will be able to partake in putting content through the static InternetContent class. No registration is required. More...
 
interface  IContentQuery
 Basic interface for Internet Content query handlers. A class implementing this interface and having a default constructor, will be able to partake in querying content through the static InternetContent class. No registration is required. More...
 
interface  IFileNameResource
 Basic interface for resources having a FileName property. More...
 
interface  IHostReference
 Interface for objects that contain a reference to a host. More...
 
interface  IInternetContent
 Base interface for Internet content encoders or decoders. More...
 
class  InternetContent
 Static class managing encoding and decoding of internet content. More...
 
interface  IResourceMap
 Basic interface for Resource maps. More...
 
class  JSON
 Helps with common JSON-related tasks. More...
 
class  LocalDomainEventArgs
 Local domain check event arguments. More...
 
class  NamedDictionary
 A Named dictionary is a dictionary, with a local name and a namespace. Use it to return content that can be encoded both as JSON or XML. More...
 
class  RemoteCertificateEventArgs
 Remove certificate validation event arguments. More...
 
class  TSV
 Helps with common TSV-related tasks. (TSV=TAB Separated Values) More...
 

Functions

delegate bool TryGetLocalResourceFileName (string Resource, string Host, out string FileName)
 Delegate to callback functions that resolve local file names for local resources. More...
 
delegate string ToString (IElement Element)
 Delegate for callback methods that convert an element value to a string. More...
 

Function Documentation

◆ ToString()

delegate string Waher.Content.ToString ( IElement  Element)

Delegate for callback methods that convert an element value to a string.

Parameters
ElementElement
Returns
String representation of element.

◆ TryGetLocalResourceFileName()

delegate bool Waher.Content.TryGetLocalResourceFileName ( string  Resource,
string  Host,
out string  FileName 
)

Delegate to callback functions that resolve local file names for local resources.

Parameters
ResourceResource
HostOptional host, if available.
FileNameLocal file name, if found.
Returns
If resource corresponds to a local file resource.