diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2017-03-16 20:09:22 +0100 |
---|---|---|
committer | Samantha Houts <samantha@teamredwall.com> | 2017-03-16 12:09:22 -0700 |
commit | 467c1befa1379c2644a3607d87db9a6178575306 (patch) | |
tree | dd5153c7d38ca310177f56a24587ad69d56f0498 /Xamarin.Forms.Core/Internals/ResourceLoader.cs | |
parent | eb8b4d19450e3264fdd20e964f48facca6521070 (diff) | |
download | xamarin-forms-467c1befa1379c2644a3607d87db9a6178575306.tar.gz xamarin-forms-467c1befa1379c2644a3607d87db9a6178575306.tar.bz2 xamarin-forms-467c1befa1379c2644a3607d87db9a6178575306.zip |
Resource loading (#815)
* Resource Loader
* Replace XamlLoader API by ResourceLoader for the Previewer
* instruct generated IL to use the resourceLoader
* [docs] update docs
* oops
* [docs] fix docs
Diffstat (limited to 'Xamarin.Forms.Core/Internals/ResourceLoader.cs')
-rw-r--r-- | Xamarin.Forms.Core/Internals/ResourceLoader.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/Internals/ResourceLoader.cs b/Xamarin.Forms.Core/Internals/ResourceLoader.cs new file mode 100644 index 00000000..e7b1be1d --- /dev/null +++ b/Xamarin.Forms.Core/Internals/ResourceLoader.cs @@ -0,0 +1,9 @@ +using System; +namespace Xamarin.Forms.Internals +{ + public static class ResourceLoader + { + public static Func<string, string> ResourceProvider { get; internal set; } + internal static Action<Exception> ExceptionHandler { get; set; } + } +}
\ No newline at end of file |