Reputation: 13521
I can get a collection of the plugins by using the following call:
_schemas = _container.Resolve<IEnumerable<Lazy<IPersistedModel,ISchemaVersion>>>();
Depending on the metadata, I want to create a different instance.
I can create an instance by simply accessing the Value property.
The problem is there is no way to pass a parameter when doing it this way.
Can this be done?
Upvotes: 0
Views: 496