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