Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
EDalerLink.cs
3
5{
9 public class EDalerLink : ILinkOpener
10 {
14 public EDalerLink()
15 {
16 }
17
23 public Grade Supports(Uri Link)
24 {
25 return Link.Scheme.Equals(Constants.UriSchemes.EDaler, StringComparison.OrdinalIgnoreCase) ? Grade.Ok : Grade.NotAtAll;
26 }
27
34 public async Task<bool> TryOpenLink(Uri Link, bool ShowErrorIfUnable)
35 {
36 await ServiceRef.NeuroWalletOrchestratorService.OpenEDalerUri(Link.OriginalString.Replace("%40", "@")); // Android has problems with URIs containg @
37
38 return true;
39 }
40 }
41}
const string EDaler
eDaler URI Scheme (edaler)
Definition: Constants.cs:173
A set of never changing property constants and helpful values.
Definition: Constants.cs:24
Base class that references services in the app.
Definition: ServiceRef.cs:43
static INeuroWalletOrchestratorService NeuroWalletOrchestratorService
Neuro Wallet orchestrator service.
Definition: ServiceRef.cs:262
Grade
Grade enumeration
Definition: Grade.cs:7