コード例 #1
0
        /// <summary>
        /// QuickConverter の設定を初期化します。
        /// </summary>
        private void InitializeQuickConverter()
        {
            // System
            EquationTokenizer.AddNamespace(typeof(System.Object));                   // System                  : mscorlib.dll
            EquationTokenizer.AddNamespace(typeof(System.IO.Path));                  // System.IO               : mscorlib.dll
            EquationTokenizer.AddNamespace(typeof(System.Text.Encoding));            // System.Text             : mscorlib.dll
            EquationTokenizer.AddNamespace(typeof(System.Reflection.Assembly));      // System.Reflection       : mscorlib.dll
            EquationTokenizer.AddNamespace(typeof(System.Windows.Point));            // System.Windows          : WindowsBase.dll
            EquationTokenizer.AddNamespace(typeof(System.Windows.UIElement));        // System.Windows          : PresentationCore.dll
            EquationTokenizer.AddNamespace(typeof(System.Windows.Input.Key));        // System.Windows.Input    : WindowsBase.dll
            EquationTokenizer.AddNamespace(typeof(System.Windows.Input.Cursor));     // System.Windows.Input    : PresentationCore.dll
            EquationTokenizer.AddNamespace(typeof(System.Windows.Controls.Control)); // System.Windows.Controls : PresentationFramework.dll
            EquationTokenizer.AddExtensionMethods(typeof(System.Linq.Enumerable));   // System.Linq             : System.Core.dll

            // Lib
            EquationTokenizer.AddNamespace(typeof(Microsoft.VisualBasic.Globals));   // Microsoft.VisualBasic   : Microsoft.VisualBasic.dll
            EquationTokenizer.AddNamespace(typeof(MyLib.Wpf.Interactions.InteractionNotification));
        }
コード例 #2
0
            public static void InitQuickConverter()
            {
#pragma warning disable IDE0049
                EquationTokenizer.AddNamespace(typeof(System.Object));                           // System                  : System.Runtime.dll
                EquationTokenizer.AddNamespace(typeof(System.IO.Path));                          // System.IO               : System.Runtime.dll
                EquationTokenizer.AddNamespace(typeof(System.Text.Encoding));                    // System.Text             : System.Runtime.dll
                EquationTokenizer.AddNamespace(typeof(System.Reflection.Assembly));              // System.Reflection       : System.Runtime.dll
                EquationTokenizer.AddNamespace(typeof(System.Windows.Point));                    // System.Windows          : WindowsBase.dll
                EquationTokenizer.AddNamespace(typeof(System.Windows.UIElement));                // System.Windows          : PresentationCore.dll
                EquationTokenizer.AddNamespace(typeof(System.Windows.Window));                   // System.Windows          : PresentationFramework.dll
                EquationTokenizer.AddNamespace(typeof(System.Windows.Input.Key));                // System.Windows.Input    : WindowsBase.dll
                EquationTokenizer.AddNamespace(typeof(System.Windows.Input.Cursor));             // System.Windows.Input    : PresentationCore.dll
                EquationTokenizer.AddNamespace(typeof(System.Windows.Input.KeyboardNavigation)); // System.Windows.Input    : PresentationFramework.dll
                EquationTokenizer.AddNamespace(typeof(System.Windows.Controls.Control));         // System.Windows.Controls : PresentationFramework.dll
                EquationTokenizer.AddNamespace(typeof(System.Windows.Media.Brush));              // System.Windows.Media    : PresentationFramework.dll
                EquationTokenizer.AddNamespace(typeof(System.Linq.Enumerable));                  // System.Linq             : System.Linq.dll
                EquationTokenizer.AddExtensionMethods(typeof(System.Linq.Enumerable));           // System.Linq             : System.Linq.dll
#pragma warning restore IDE0049
            }