Example #1
0
        public AzureResourceServiceResolverRest()
        {
            Services = BasicServiceCollectionFactory.GetServiceCollectionWithInMemory();

            Services.AddTransient <IAzureResourceGroupService, AzureResourceGroupService>();
            Services.AddTransient <IAzureVirtualNetworkService, AzureVirtualNetworkService>();
            Services.AddTransient <IAzureBastionService, AzureBastionService>();

            ServiceProvider = Services.BuildServiceProvider();
        }
Example #2
0
 public ServiceTestBase()
 {
     _services        = BasicServiceCollectionFactory.GetServiceCollectionWithInMemory();
     _serviceProvider = _services.BuildServiceProvider();
 }
Example #3
0
 public StudyQueriesTest_Base()
 {
     Services        = BasicServiceCollectionFactory.GetServiceCollectionWithInMemory();
     ServiceProvider = Services.BuildServiceProvider();
 }