コード例 #1
0
        //-------------------------------------------------------------------
        //
        //  Protected Methods
        //
        //-------------------------------------------------------------------

        #region Protected Methods

        /// <summary>
        /// Register Msdn converters
        /// </summary>
        protected override void RegisterConverters()
        {
            base.RegisterConverters();
            ConverterManager.UnRegister(typeof(XPathDocument), typeof(FlowDocument));
            ConverterManager.Register(typeof(XPathDocument), typeof(FlowDocument), new MsdnStoryToFlowDocumentConverter());
        }