internal void SetCallbacks(IXamlContentHandler xamlContent, IXamlErrorHandler xamlError) { _xamlContent = xamlContent; _xamlError = xamlError; }