internal static WindowContent Parse(SystemWindow sw) { WindowContentParser parser = ContentParserRegistry.Instance.GetParser(sw); if (parser == null) { return(null); } return(parser.ParseContent(sw)); }
internal static WindowContent Parse(SystemWindow systemWindow) { WindowContentParser parser = ContentParserRegistry.Instance.GetParser(systemWindow); return(parser?.ParseContent(systemWindow)); }