e46a49ecf1
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
22 lines
607 B
C#
22 lines
607 B
C#
// <copyright file="MemoryCacheKey.cs" company="Microsoft">
|
|
// Copyright (c) 2009 Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
using System;
|
|
using System.Collections;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace System.Runtime.Caching {
|
|
internal class MemoryCacheKey {
|
|
private String _key;
|
|
private int _hash;
|
|
|
|
internal int Hash { get { return _hash; } }
|
|
internal String Key { get { return _key; } }
|
|
|
|
internal MemoryCacheKey(String key) {
|
|
_key = key;
|
|
_hash = key.GetHashCode();
|
|
}
|
|
}
|
|
}
|