Exemplo n.º 1
0
        public LogCountersTest()
        {
            var log  = new ConsoleLogger();
            var refs = References.FromTuples(
                new Descriptor("pip-services", "logger", "null", "default", "1.0"), log
                );

            _counters.SetReferences(refs);

            _fixture = new CountersFixture(_counters);
        }
Exemplo n.º 2
0
        public LogCountersTest()
        {
            var log  = new ConsoleLogger();
            var refs = References.FromTuples(
                DefaultLoggerFactory.ConsoleLoggerDescriptor, log
                );

            _counters.SetReferences(refs);

            _fixture = new CountersFixture(_counters);
        }