Hi Robert,
How about checking whether the IgnoreAttribute is applied to
the property?
for (int i = 0; i < properties.Length - 1; i++) {
// ignore props marked with [Ignore]
if (properties[i].GetCustomAttributes(typeof(IgnoreAttribute),
false).Length > 0)
next;
}
Perfect. Why is it that something so obvious is the something that I
miss? D'oh!
Paul
--
Out now from Packt Publishing - "Xamarin Mobile Application Development
for iOS" - my first book
http://www.packtpub.com/xamarin-mobile-application-development-for-ios/book
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list