double instance of LogSelector
Status: Beta
Brought to you by:
i5riza
In order to initialize NOperation framework we do something like:
AppSettings.Default = new AppSettings(
new LogSelector(new SelectionStrategy(new LoggerRepository())),
operationsObjectBuilder,
AppSettings.Default.TransactionFactory,
AppSettings.Default.Inspector);
but in case operationsObjectBuilder does not have LogSelector registered the application throws an exception at:
Class: ObjectFactory
Method: private object RegisterAddin(Type typeInterface, object instance)
Line: LogSelector logSelector = this.Builder.Build<LogSelector>();
In case operationsObjectBuilder is based on windsor, 2 separate instances of LogSelector are used in application.