public Network(ILoggerFactory loggerFactory) { _loggerFactory = loggerFactory; _logger = loggerFactory.CreateLogger <Network>(); _typeNodes = new ConcurrentDictionary <Type, ITypeActivation>(); _observers = new FactObservable(); }
public TypeNode(ILoggerFactory loggerFactory) : base(loggerFactory) { _observers = new FactObservable <TFact>(); }
public TypeActivation(FactObservable observers, ILoggerFactory loggerFactory) { _observers = observers; _loggerFactory = loggerFactory; _filter = new Lazy <ITypeNode <TFact> >(CreateTypeNode); }