From 90efeeeb186a0b5b4b7af9ee74ab11d2cea7e8c6 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Mon, 9 May 2016 20:07:35 +0200 Subject: [PATCH] Added TODO doc. --- src/Markup/Perspex.Markup.Xaml/PerspexXamlLoader.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Markup/Perspex.Markup.Xaml/PerspexXamlLoader.cs b/src/Markup/Perspex.Markup.Xaml/PerspexXamlLoader.cs index 8b9cd002e0..be233f27f2 100644 --- a/src/Markup/Perspex.Markup.Xaml/PerspexXamlLoader.cs +++ b/src/Markup/Perspex.Markup.Xaml/PerspexXamlLoader.cs @@ -45,6 +45,13 @@ namespace Perspex.Markup.Xaml /// /// Gets the URI of the XAML file currently being loaded. /// + /// + /// TODO: Making this internal for now as I'm not sure that this is the correct + /// thing to do, but its needd by to get the URL of + /// the currently loading XAML file, as we can't use the OmniXAML parsing context + /// there. Maybe we need a way to inject OmniXAML context into the objects it's + /// constructing? + /// internal static Uri UriContext => s_uriStack.Count > 0 ? s_uriStack.Peek() : null; ///