Browse Source

Added TODO doc.

pull/525/merge
Steven Kirk 10 years ago
parent
commit
90efeeeb18
  1. 7
      src/Markup/Perspex.Markup.Xaml/PerspexXamlLoader.cs

7
src/Markup/Perspex.Markup.Xaml/PerspexXamlLoader.cs

@ -45,6 +45,13 @@ namespace Perspex.Markup.Xaml
/// <summary>
/// Gets the URI of the XAML file currently being loaded.
/// </summary>
/// <remarks>
/// TODO: Making this internal for now as I'm not sure that this is the correct
/// thing to do, but its needd by <see cref="StyleInclude"/> 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?
/// </remarks>
internal static Uri UriContext => s_uriStack.Count > 0 ? s_uriStack.Peek() : null;
/// <summary>

Loading…
Cancel
Save