Mono.Xaml.ManagedXamlLoader.GetContentPropertyNameForType C# (CSharp) Метод

GetContentPropertyNameForType() приватный Метод

private GetContentPropertyNameForType ( Type t ) : string
t System.Type
Результат string
		private string GetContentPropertyNameForType (Type t)
		{
			object [] o = t.GetCustomAttributes (typeof (ContentPropertyAttribute), false);
			
			if (o.Length == 0)
				return null;

			ContentPropertyAttribute cpa = (ContentPropertyAttribute ) o [0];
			return cpa.Name;
		}