Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IResourceMap.cs
1namespace Waher.Content
2{
6 public interface IResourceMap
7 {
13 bool CheckResource(ref string ResourceName);
14
21 bool TryGetFileName(string LocalUrl, out string FileName);
22
30 bool TryGetFileName(string LocalUrl, bool MustExist, out string FileName);
31
32 }
33}
Basic interface for Resource maps.
Definition: IResourceMap.cs:7
bool TryGetFileName(string LocalUrl, out string FileName)
Tries to get the full path of a file-based resource.
bool CheckResource(ref string ResourceName)
Checks if a resource name needs to be mapped to an alternative resource.
bool TryGetFileName(string LocalUrl, bool MustExist, out string FileName)
Tries to get the full path of a file-based resource.