/// <summary> /// 初始化一个新的Rabbit服务主机工厂。 /// </summary> public RabbitServiceHostFactory() { HostContainerRegistry.RegisterShim(this); }
public CustomOutputCacheProvider() { HostContainerRegistry.RegisterShim(this); signals = HostContainer.Resolve <ISignals>(); clock = HostContainer.Resolve <IClock>(); }
public ThemeAwareViewEngineShim() { HostContainerRegistry.RegisterShim(this); }
public DefaultCacheProvider() { HostContainerRegistry.RegisterShim(this); }
private RazorCompilationEventsShim() { HostContainerRegistry.RegisterShim(this); RazorBuildProvider.CodeGenerationStarted += RazorBuildProviderCodeGenerationStarted; RazorBuildProvider.CodeGenerationCompleted += RazorBuildProviderCodeGenerationCompleted; }
public DefaultCacheManager(ICacheContextAccessor cacheContextAccessor) { HostContainerRegistry.RegisterShim(this); }