1using System.Collections.Generic;
2using System.Threading.Tasks;
29 if (!this.
Uri.
EDaler.
Legal.Verify(
this.Uri.PreSign,
this.Uri.Signature) &&
30 (!
string.IsNullOrEmpty(IoTGateway.Gateway.Domain) ||
31 ((
this.Uri.EDaler.Server.Domain !=
"example.com") &&
32 (
this.Uri.EDaler.Server.Domain !=
"example2.com") &&
33 (
this.Uri.EDaler.Server.Domain !=
"example3.com"))))
41 return await base.DoPrepare();
50 protected override void LogEvent(
string To,
string From, decimal Amount,
string Currency,
51 KeyValuePair<string, object>[] Tags)
53 Log.
Notice(Amount.ToString() +
" " + Currency +
" eDaler created.", To, From,
Static class managing the application event log. Applications and services log events on this static ...
static void Notice(string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
LegalComponent Legal
Legal component
Abstract base class for primary transaction objects (i.e. objects that control the transaction).
Handles the local issuance of eDaler.
override void LogEvent(string To, string From, decimal Amount, string Currency, KeyValuePair< string, object >[] Tags)
Logs an event corresponding to the transaction.
LocalIssuance(EDalerUri Uri)
Handles the local issuance of eDaler.
override async Task< bool > DoPrepare()
Performs actual preparation.
Abstract base class for eDaler URIs
EDalerUriState State
URI State object.
EDalerComponent EDaler
eDaler component reference
virtual void Error(EDalerUriErrorType ErrorType, string ErrorMessage, bool LogAsNotice)
Reports an error with the URI
EDalerUriErrorType
Type of URI Error