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