Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Is MonoTouch.Foundation.Preserve still necessary for entities?

$
0
0

It used to be that you had to decorate pure entity classes with MonoTouch.Foundation.Preserve otherwise the compiler could think that a property wasn't used, especially if you just did basic serialization. Is this still necessary?

[MonoTouch.Foundation.Preserve(AllMembers = true)]
public class Foo
{
    // ... properties and such
}

JB


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>