terminal/src/cascadia/Microsoft.UI.Xaml.Markup/ReadMe.md
Dustin Howett d4d59fa339 Initial release of the Windows Terminal source code
This commit introduces all of the Windows Terminal and Console Host source,
under the MIT license.
2019-05-02 15:29:04 -07:00

606 B

Xaml Application for Win32

This project implements an Xaml application that is suited for Win32 projects. A pseudo implementation of this object is:

namespace Microsoft.UI.Xaml.Markup
{
    interface IXamlMetadataProviderContainer
    {
        Windows.Foundation.Collections.IVector<Windows.UI.Xaml.Markup.IXamlMetadataProvider> Providers { get; };
    };

    class XamlApplication : Windows.UI.Xaml.Application, IXamlMetadataProviderContainer, IDisposable
    {
        XamlApplication()
        {
           WindowsXamlManager.InitializeForThread();
        }
    }
}