Custom Types

Daabli supports two methods for loading all types: Intrusive and Non-intrusive.

The intrusive method is easier to implement for a type, but requires modification of the type (the IReadable interface must be implemented). The non-intrusive method is a bit more difficult to implement, but doesn't require modification of the type; hence it's the only option for types which cannot be modified (like library types for example). Note that the non-intrusive method requires that the type can be loaded using only its public interface (since private members are inaccessible).

Let's take a look at the two methods of reading in detail.

Next: Intrusive Method

Last edited Apr 20, 2012 at 4:55 PM by francisxavier, version 2


No comments yet.