Beispiel #1
0
			public void ViewModelLocatorOnlyCalledOnce (bool useCompiledXaml)
			{
				Assert.AreEqual (0, Bz27299ViewModelLocator.Count);
				var layout = new Bz27299 (useCompiledXaml);
				Assert.AreEqual (1, Bz27299ViewModelLocator.Count);
				Assert.AreEqual ("Foo", layout.label.Text);
			}
            public void ViewModelLocatorOnlyCalledOnce(bool useCompiledXaml)
            {
                Assert.AreEqual(0, Bz27299ViewModelLocator.Count);
                var layout = new Bz27299(useCompiledXaml);

                Assert.AreEqual(1, Bz27299ViewModelLocator.Count);
                Assert.AreEqual("Foo", layout.label.Text);
            }