1 type derived from SimpleActivator
Microsoft.AspNetCore.DataProtection (1)
TypeForwardingActivator.cs (1)
12internal class TypeForwardingActivator : SimpleActivator
2 instantiations of SimpleActivator
Microsoft.AspNetCore.DataProtection (2)
ActivatorExtensions.cs (1)
38? (serviceProvider.GetService<IActivator>() ?? new SimpleActivator(serviceProvider))
SimpleActivator.cs (1)
21internal static readonly SimpleActivator DefaultWithoutServices = new SimpleActivator(null);
16 references to SimpleActivator
Microsoft.AspNetCore.DataProtection (3)
ActivatorExtensions.cs (1)
39: SimpleActivator.DefaultWithoutServices;
SimpleActivator.cs (2)
19/// A default <see cref="SimpleActivator"/> whose wrapped <see cref="IServiceProvider"/> is null. 21internal static readonly SimpleActivator DefaultWithoutServices = new SimpleActivator(null);
Microsoft.AspNetCore.DataProtection.Tests (13)
Internal\KeyManagementOptionsSetupTest.cs (1)
88activator: SimpleActivator.DefaultWithoutServices);
KeyManagement\XmlKeyManagerTests.cs (11)
42var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 66var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 109var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 207var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 311var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance, mockInternalKeyManager.Object); 633var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 683var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 738var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance, mockInternalKeyManager.Object); 943SimpleActivator.DefaultWithoutServices, 989}), SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 996}), SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
RegistryPolicyResolverTests.cs (1)
262activator: SimpleActivator.DefaultWithoutServices);