示例#1
0
 public EdgeParserTest()
 {
     lexer  = new MockEdgeLexer();
     parser = new EdgeParser(lexer)
     {
         Assemblies = new HashSet <string>()
         {
             "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
             "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
             "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
             "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35",
             "PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35",
             "PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35",
             "System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
         },
         Namespaces = new HashSet <string>()
         {
             "System",
             "System.Windows",
             "System.Windows.Controls",
             "System.Windows.Data",
             "System.Windows.Documents",
             "System.Windows.Input",
             "System.Windows.Media",
             "System.Windows.Media.Imaging",
             "System.Windows.Navigation",
             "System.Windows.Shapes"
         }
     };
 }
示例#2
0
 public EdgeParserTest()
 {
     lexer = new MockEdgeLexer();
     parser = new EdgeParser(lexer)
     {
         Assemblies = new HashSet<string>()
         {
             "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
             "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
             "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
             "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35",
             "PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35",
             "PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35",
             "System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
         },
         Namespaces = new HashSet<string>()
         {
             "System",
             "System.Windows",
             "System.Windows.Controls",
             "System.Windows.Data",
             "System.Windows.Documents",
             "System.Windows.Input",
             "System.Windows.Media",
             "System.Windows.Media.Imaging",
             "System.Windows.Navigation",
             "System.Windows.Shapes"
         }
     };
 }