ipjohnson / Grace

Grace is a feature rich dependency injection container library
MIT License
336 stars 33 forks source link

ExportPriority Attribute not used #178

Closed mgth closed 5 years ago

mgth commented 6 years ago

I used ExportPriority Attribut but after ExportAssembly all exports still have a priority of 0.

ipjohnson commented 6 years ago

Hmmm try adding .ExportAttributedTypes() to the call as by default grace won't process attributes on a type.

If it's still and issue I can take a look this evening.

ipjohnson commented 6 years ago

@mgth did that work for you?

mgth commented 5 years ago

Sorry for the loonng delay. I ended up by sorting the export order and woks ok for me. I already used ExportAttributedTypes(), but exports in the container are all zero priority.

ipjohnson commented 5 years ago

cool. I'm going to go ahead and close this