Closed mcdis closed 5 years ago
Hi @mcdis
the container has the property StrategyCollectionContainer
// return all strategies for the container
container.StrategyCollectionContainer.GetAllStrategies();
// get keyed strategies by type
var collection = container.StrategyCollectionContainer.GetActivationStrategyCollection(typeof(ISomeInterface));
if(collection != null)
{
foreach(KeyValuePair<object,ICompiledExportStrategy> kvp in collection.GetKeyedStrategies)
{
//
}
}
@mcdis I'm going to close this out
Hi! Need to enumeration all keys of the interface available from the scope Best regards