System.Xaml.XamlObjectWriterInternal.IsAllowedType C# (CSharp) 메소드

IsAllowedType() 개인적인 메소드

private IsAllowedType ( XamlType xt, object value ) : bool
xt XamlType
value object
리턴 bool
		bool IsAllowedType (XamlType xt, object value)
		{
			return  xt == null ||
				xt.UnderlyingType == null ||
				xt.UnderlyingType.IsInstanceOfType (value) ||
				value == null && xt == XamlLanguage.Null ||
				xt.IsMarkupExtension && IsAllowedType (xt.MarkupExtensionReturnType, value);
		}