3using System.Threading.Tasks;
27 : base(
"Storage/LoadPrivateXml",
28 new KeyValuePair<Type,
Expression>(typeof(Dictionary<string, object>), new
Expression(jsonPattern)),
48 string LocalName = (string)Parameters[
"PLocalName"].AssociatedObjectValue;
49 string Namespace = (string)Parameters[
"PNamespace"].AssociatedObjectValue;
61 {
"created", Element.Created },
62 {
"updated", Element.Updated },
A Named dictionary is a dictionary, with a local name and a namespace. Use it to return content that ...
Helps with common XML-related tasks.
static XmlDocument ParseXml(string Xml)
Parses an XML Document from its string representation.
Represents an HTTP request.
Represets a response of an HTTP client request.
Task Return(Exception ex)
Returns an error to the client.
The server has not found anything matching the Request-URI. No indication is given of whether the con...
Contains information about one persisted XML element.
Static interface for database persistence. In order to work, a database provider has to be assigned t...
This filter selects objects that conform to all child-filters provided.
This filter selects objects that have a named field equal to a given value.
Static class managing loading of resources stored as embedded resources or in content files.
static string LoadResourceAsText(string ResourceName)
Loads a text resource from an embedded resource.
Base class for all types of elements.
Class managing a script expression.
string UserName
User Name.
Abstract base class for agent resources supporting the POST method.
Abstract base class for agent resources
static AccountUser AssertUserAuthenticated(HttpRequest Request)
Makes sure the request is made by an authenticated API user.
const string AgentNamespace
https://waher.se/Schema/BrokerAgent.xsd
Loads private XML for the account.
LoadPrivateXml()
Loads private XML for the account.
override async Task POST(HttpRequest Request, HttpResponse Response, Dictionary< string, IElement > Parameters)
Executes the POST method on the resource.