Пример #1
0
 public ConstructorArgumentViewModel(IServiceMock service)
 {
     Service = service;
 }
 public EventListenerMock(IServiceMock service)
 {
     _service = service;
 }
Пример #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));
 }
Пример #5
0
        //----------------------------------------------------------------//

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

            return(_serviceMocks.TryAdd(type, _serviceMock));
        }
Пример #6
0
 public ScopeMock(IServiceMock serviceA, IServiceMock serviceB)
 {
     this.ServiceA = serviceA;
     this.ServiceB = serviceB;
 }
Пример #7
0
 public ScopeMock(IServiceMock serviceA, IServiceMock serviceB)
 {
     this.ServiceA = serviceA;
     this.ServiceB = serviceB;
 }