Creates a cache key to use when adding or removing individual items from the IItemCache.
Namespace: Simol.CacheAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
C# |
---|
public string CreateKey( PropertyFormatter formatter, ItemMapping mapping, Object itemName ) |
Visual Basic |
---|
Public Function CreateKey ( _ formatter As PropertyFormatter, _ mapping As ItemMapping, _ itemName As Object _ ) As String |
Visual C++ |
---|
public: String^ CreateKey( PropertyFormatter^ formatter, ItemMapping^ mapping, Object^ itemName ) |
Parameters
- formatter
- Type: Simol.Formatters..::..PropertyFormatter
The formatter to use when formatting the item name.
- mapping
- Type: Simol..::..ItemMapping
The item mapping.
- itemName
- Type: System..::..Object
The item name.