3 instantiations of SendMessageChannelCache
System.ServiceModel.Activities (3)
System\ServiceModel\Activities\Description\SendMessageChannelCacheBehavior.cs (1)
44workflowServiceHost.WorkflowExtensions.Add(new SendMessageChannelCache(this.FactorySettings, this.ChannelSettings, this.AllowUnsafeCaching));
System\ServiceModel\Activities\SendMessageChannelCache.cs (1)
107SendMessageChannelCache defaultExtension = new SendMessageChannelCache();
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
759Add(new SendMessageChannelCache());
18 references to SendMessageChannelCache
System.ServiceModel.Activities (18)
System\ServiceModel\Activities\InternalSendMessage.cs (7)
57KeyValuePair<ObjectCacheItem<ChannelFactoryReference>, SendMessageChannelCache> lastUsedFactoryCacheItem; 601metadata.AddDefaultExtensionProvider(SendMessageChannelCache.DefaultExtensionProvider); 1298instance.CacheExtension = context.GetExtension<SendMessageChannelCache>(); 1367KeyValuePair<ObjectCacheItem<ChannelFactoryReference>, SendMessageChannelCache> localLastUsedCacheItem = this.lastUsedFactoryCacheItem; 1377this.lastUsedFactoryCacheItem = new KeyValuePair<ObjectCacheItem<ChannelFactoryReference>, SendMessageChannelCache>(null, null); 2416public SendMessageChannelCache CacheExtension 2578this.parent.lastUsedFactoryCacheItem = new KeyValuePair<ObjectCacheItem<ChannelFactoryReference>, SendMessageChannelCache>(this.cacheItem, this.CacheExtension);
System\ServiceModel\Activities\Send.cs (3)
412SendMessageChannelCache channelCacheExtension = context.GetExtension<SendMessageChannelCache>(); 419internal void InitializeChannelCacheEnabledSetting(SendMessageChannelCache channelCacheExtension)
System\ServiceModel\Activities\SendMessageChannelCache.cs (6)
14static Func<SendMessageChannelCache> defaultExtensionProvider = new Func<SendMessageChannelCache>(CreateDefaultExtension); 43internal static Func<SendMessageChannelCache> DefaultExtensionProvider 105static SendMessageChannelCache CreateDefaultExtension() 107SendMessageChannelCache defaultExtension = new SendMessageChannelCache(); 178throw FxTrace.Exception.AsError(new ObjectDisposedException(typeof(SendMessageChannelCache).ToString()));
System\ServiceModel\Activities\WorkflowServiceHost.cs (2)
737if (TypeHelper.AreTypesCompatible(typeof(T), typeof(SendMessageChannelCache))) 748if (singletonExtension is SendMessageChannelCache)