Torna al Thread

internal bool checkEnumerator(IEnumerator enumerator, PropertyInfo info) { object[] atts = info.GetCustomAttributes(typeof(DataObjectFieldAttribute), true); if (!((atts.Length == 1) && (((DataObjectFieldAttribute)atts[0]) != null))) return false; atts = info.GetCustomAttributes(typeof(BrowsableAttribute), true); if ((atts.Length == 1) && ((atts[0] as BrowsableAttribute) != null) && (((BrowsableAttribute)atts[0]).Browsable == false)) return false; return (info.PropertyType == typeof(string) || true); }
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5