Inheritance: System.Windows.Markup.MarkupExtension
コード例 #1
0
		public void ProvideValueTest_nonIXamlTypeResolver ()
		{
			NullExtension ne = new NullExtension ();

			ProviderPoker p = new ProviderPoker (new object());

			Assert.IsNull (ne.ProvideValue (p));
		}
コード例 #2
0
		public void ProvideValueTest_nullService ()
		{
			NullExtension ne = new NullExtension ();

			ProviderPoker p = new ProviderPoker (null);

			Assert.IsNull (ne.ProvideValue (p));
		}
コード例 #3
0
		public void Read_NullExtension ()
		{
			var o = new NullExtension ();
			var r = new XamlObjectReader (o);
			Read_NullOrNullExtension (r, o);
		}
コード例 #4
0
		public void ProvideValueTest_nullProvider ()
		{
			NullExtension ne = new NullExtension ();

			Assert.IsNull (ne.ProvideValue (null));
		}