| |||||||||||||||||
Source File | Conditionals | Statements | Methods | TOTAL | |||||||||||||
Configuration\Cache\ICacheController.cs | - | - | - | - |
|
1 | ||
2 | #region Apache Notice | |
3 | /***************************************************************************** | |
4 | * $Header: $ | |
5 | * $Revision: $ | |
6 | * $Date: $ | |
7 | * | |
8 | * iBATIS.NET Data Mapper | |
9 | * Copyright (C) 2004 - Gilles Bayon | |
10 | * | |
11 | * | |
12 | * Licensed under the Apache License, Version 2.0 (the "License"); | |
13 | * you may not use this file except in compliance with the License. | |
14 | * You may obtain a copy of the License at | |
15 | * | |
16 | * http://www.apache.org/licenses/LICENSE-2.0 | |
17 | * | |
18 | * Unless required by applicable law or agreed to in writing, software | |
19 | * distributed under the License is distributed on an "AS IS" BASIS, | |
20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
21 | * See the License for the specific language governing permissions and | |
22 | * limitations under the License. | |
23 | * | |
24 | ********************************************************************************/ | |
25 | #endregion | |
26 | ||
27 | #region Imports | |
28 | using System; | |
29 | using System.Collections; | |
30 | using System.Collections.Specialized; | |
31 | #endregion | |
32 | ||
33 | namespace IBatisNet.DataMapper.Configuration.Cache | |
34 | { | |
35 | /// <summary> | |
36 | /// Summary description for ICacheController. | |
37 | /// </summary> | |
38 | public interface ICacheController | |
39 | { | |
40 | #region Properties | |
41 | /// <summary> | |
42 | /// Adds an item with the specified key and value into cached data. | |
43 | /// Gets a cached object with the specified key. | |
44 | /// </summary> | |
45 | /// <value>The cached object or <c>null</c></value> | |
46 | object this [object key] | |
47 | { | |
48 | get; | |
49 | set; | |
50 | } | |
51 | #endregion | |
52 | ||
53 | #region Methods | |
54 | /// <summary> | |
55 | /// Clears all elements from the cache. | |
56 | /// </summary> | |
57 | void Flush (); | |
58 | ||
59 | /// <summary> | |
60 | /// Configures the CacheController | |
61 | /// </summary> | |
62 | /// <param name="properties"></param> | |
63 | void Configure(HybridDictionary properties); | |
64 | #endregion | |
65 | ||
66 | } | |
67 | } | |
68 |
|