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)
92activator: SimpleActivator.DefaultWithoutServices);
KeyManagement\XmlKeyManagerTests.cs (11)
47var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 71var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 114var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 212var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 316var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance, mockInternalKeyManager.Object); 638var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 688var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 743var keyManager = new XmlKeyManager(options, SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance, mockInternalKeyManager.Object); 949SimpleActivator.DefaultWithoutServices, 997}), SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance); 1004}), SimpleActivator.DefaultWithoutServices, NullLoggerFactory.Instance);
RegistryPolicyResolverTests.cs (1)
266activator: SimpleActivator.DefaultWithoutServices);