/// <summary>
 /// Initializes a new instance of the <see cref="RestAuthenticationProviderFactory"/> class.
 /// </summary>
 /// <param name="serviceLocator">The service locator.</param>
 public RestAuthenticationProviderFactory(IIoCServiceLocator serviceLocator)
 {
     _serviceLocator = serviceLocator;
 }
Beispiel #2
0
 internal static void SetServiceLocator(IIoCServiceLocator locator)
 {
     Resolver = locator;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EFCoreModelBuilderFactory"/> class.
 /// </summary>
 /// <param name="serviceLocator">The service locator.</param>
 public EFCoreModelBuilderFactory(IIoCServiceLocator serviceLocator)
 {
     _serviceLocator = serviceLocator;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestContextFactory"/> class.
 /// </summary>
 /// <param name="restConnectionStringResolver">The rest connection string resolver.</param>
 /// <param name="iocServiceLocator">The ioc service locator.</param>
 public RestContextFactory(IRestConnectionStringResolver restConnectionStringResolver,
                           IIoCServiceLocator iocServiceLocator)
 {
     _restConnectionStringResolver = restConnectionStringResolver;
     _iocServiceLocator            = iocServiceLocator;
 }