C# Class OpenActive.NET.UnexpectedOrderTypeError

Inheritance: OpenActive.NET.OpenBookingError
Show file Open project: openactive/OpenActive.NET

Private Properties

Property Type Description

Public Methods

Method Description
ToHtmlEscapedString ( ) : string

Returns the JSON-LD representation of this instance, including "https://schema.org" in the "@context". This method must be used when you want to embed the output raw (as-is) into a web page. It uses serializer settings with HTML escaping to avoid Cross-Site Scripting (XSS) vulnerabilities if the object was constructed from an untrusted source. This method overrides Schema.NET ToHtmlEscapedString() to serialise using OpenActiveSerializer.

ToString ( ) : string

Returns the JSON-LD representation of this instance. This method overrides Schema.NET ToString() to serialise using OpenActiveSerializer.

Method Details

ToHtmlEscapedString() public method

Returns the JSON-LD representation of this instance, including "https://schema.org" in the "@context". This method must be used when you want to embed the output raw (as-is) into a web page. It uses serializer settings with HTML escaping to avoid Cross-Site Scripting (XSS) vulnerabilities if the object was constructed from an untrusted source. This method overrides Schema.NET ToHtmlEscapedString() to serialise using OpenActiveSerializer.
public ToHtmlEscapedString ( ) : string
return string

ToString() public method

Returns the JSON-LD representation of this instance. This method overrides Schema.NET ToString() to serialise using OpenActiveSerializer.
public ToString ( ) : string
return string