Compartir a través de


CacheContainer Constructors

Definition

Overloads

CacheContainer(CacheContainerKey, IEnumerable<CacheItem>)

Initializes a new instance of the CacheContainer class.

CacheContainer(CacheContainerKey, IReadOnlyDictionary<String,CacheItem>)

Initializes a new instance of the CacheContainer class.

CacheContainer(CacheContainerKey, IEnumerable<CacheItem>)

Initializes a new instance of the CacheContainer class.

public:
 CacheContainer(Microsoft::VisualStudio::RpcContracts::Caching::CacheContainerKey ^ key, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::RpcContracts::Caching::CacheItem> ^ items);
public CacheContainer (Microsoft.VisualStudio.RpcContracts.Caching.CacheContainerKey key, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.RpcContracts.Caching.CacheItem> items);
new Microsoft.VisualStudio.RpcContracts.Caching.CacheContainer : Microsoft.VisualStudio.RpcContracts.Caching.CacheContainerKey * seq<Microsoft.VisualStudio.RpcContracts.Caching.CacheItem> -> Microsoft.VisualStudio.RpcContracts.Caching.CacheContainer
Public Sub New (key As CacheContainerKey, items As IEnumerable(Of CacheItem))

Parameters

key
CacheContainerKey

Container key to locate the container in future queries.

items
IEnumerable<CacheItem>

Cache items that should be linked to this container.

Applies to

CacheContainer(CacheContainerKey, IReadOnlyDictionary<String,CacheItem>)

Initializes a new instance of the CacheContainer class.

public:
 CacheContainer(Microsoft::VisualStudio::RpcContracts::Caching::CacheContainerKey ^ key, System::Collections::Generic::IReadOnlyDictionary<System::String ^, Microsoft::VisualStudio::RpcContracts::Caching::CacheItem> ^ items);
public CacheContainer (Microsoft.VisualStudio.RpcContracts.Caching.CacheContainerKey key, System.Collections.Generic.IReadOnlyDictionary<string,Microsoft.VisualStudio.RpcContracts.Caching.CacheItem> items);
new Microsoft.VisualStudio.RpcContracts.Caching.CacheContainer : Microsoft.VisualStudio.RpcContracts.Caching.CacheContainerKey * System.Collections.Generic.IReadOnlyDictionary<string, Microsoft.VisualStudio.RpcContracts.Caching.CacheItem> -> Microsoft.VisualStudio.RpcContracts.Caching.CacheContainer
Public Sub New (key As CacheContainerKey, items As IReadOnlyDictionary(Of String, CacheItem))

Parameters

key
CacheContainerKey

Container key to locate the container in future queries.

items
IReadOnlyDictionary<String,CacheItem>

Cache items that should be linked to this container.

Applies to