Exemplo n.º 1
0
        internal static WindowContent Parse(SystemWindow sw)
        {
            WindowContentParser parser = ContentParserRegistry.Instance.GetParser(sw);

            if (parser == null)
            {
                return(null);
            }
            return(parser.ParseContent(sw));
        }
Exemplo n.º 2
0
        internal static WindowContent Parse(SystemWindow systemWindow)
        {
            WindowContentParser parser = ContentParserRegistry.Instance.GetParser(systemWindow);

            return(parser?.ParseContent(systemWindow));
        }