CacheContainer Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Container key to locate the container in future queries.
- items
- IReadOnlyDictionary<String,CacheItem>
Cache items that should be linked to this container.