Esempio n. 1
0
 public ConstructorArgumentViewModel(IServiceMock service)
 {
     Service = service;
 }
 public EventListenerMock(IServiceMock service)
 {
     _service = service;
 }
Esempio n. 3
0
 public ConstructorArgumentView(IServiceMock service)
 {
     Service = service;
     ViewModelLocator.SetAutowireViewModel(this, true);
 }
 public KinesisDataInvoiceProcessor(IServiceMock serviceMock)
 {
     this.serviceMock = serviceMock ?? throw new System.ArgumentNullException(nameof(serviceMock));
 }
Esempio n. 5
0
        //----------------------------------------------------------------//

        public Boolean TryAddServiceMock <Service>(IServiceMock _serviceMock) where Service : class
        {
            Type type = typeof(Service);

            return(_serviceMocks.TryAdd(type, _serviceMock));
        }
Esempio n. 6
0
 public ScopeMock(IServiceMock serviceA, IServiceMock serviceB)
 {
     this.ServiceA = serviceA;
     this.ServiceB = serviceB;
 }
Esempio n. 7
0
 public ScopeMock(IServiceMock serviceA, IServiceMock serviceB)
 {
     this.ServiceA = serviceA;
     this.ServiceB = serviceB;
 }