[Mono-dev] System.Reflection.Assembly::Load Performance?

Robert Jordan robertj at gmx.net
Wed Dec 9 11:03:27 EST 2009

On 09.12.2009 16:20, Leszek Ciesielski wrote:
>> This loop will consume a lot of resources as the runtime have to decode and
>> load all types in the assembly before returning it.
> This foreach loop is a common pattern for loading subclasses/plugins
> from an assembly, is there a better pattern for this?

Assembly.GetExportedTypes() should be used instead.


More information about the Mono-devel-list mailing list