Exemplo n.º 1
0
 public void Test_FamilyShow()
 {
     using (Stream inStream = TestUtils.LoadResourceStream("test_windsor.familyx")) {
         using (GDMTree tree = new GDMTree()) {
             var fxProvider = new FamilyXProvider(tree);
             fxProvider.LoadFromStreamExt(inStream, inStream);
         }
     }
 }
Exemplo n.º 2
0
        public void Test_FamilyShow()
        {
            Assembly assembly = typeof(CoreTests).Assembly;

            using (Stream inStream = assembly.GetManifestResourceStream("GKTests.Resources.test_windsor.familyx")) {
                using (GDMTree tree = new GDMTree()) {
                    var fxProvider = new FamilyXProvider(tree);
                    fxProvider.LoadFromStreamExt(inStream, inStream);
                }
            }
        }