예제 #1
0
        public Network(ILoggerFactory loggerFactory)
        {
            _loggerFactory = loggerFactory;

            _logger = loggerFactory.CreateLogger <Network>();

            _typeNodes = new ConcurrentDictionary <Type, ITypeActivation>();
            _observers = new FactObservable();
        }
예제 #2
0
 public TypeNode(ILoggerFactory loggerFactory)
     : base(loggerFactory)
 {
     _observers = new FactObservable <TFact>();
 }
예제 #3
0
 public TypeActivation(FactObservable observers, ILoggerFactory loggerFactory)
 {
     _observers     = observers;
     _loggerFactory = loggerFactory;
     _filter        = new Lazy <ITypeNode <TFact> >(CreateTypeNode);
 }