~ubuntu-branches/ubuntu/trusty/smuxi/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/ServiceStack/src/ServiceStack.Interfaces/CacheAccess/ISession.cs

  • Committer: Package Import Robot
  • Author(s): Mirco Bauer
  • Date: 2013-05-25 22:11:31 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130525221131-nd2mc0kzubuwyx20
Tags: 0.8.11-1
* [22d13d5] Imported Upstream version 0.8.11
* [6d2b95a] Refreshed patches
* [89eb66e] Added ServiceStack libraries to smuxi-engine package
* [848ab10] Enable Campfire engine
* [c6dbdc7] Always build db4o for predictable build result
* [13ec489] Exclude OS X specific libraries from dh_clideps

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
namespace ServiceStack.CacheAccess
 
2
{
 
3
        /// <summary>
 
4
        /// A Users Session
 
5
        /// </summary>
 
6
        public interface ISession
 
7
        {
 
8
                /// <summary>
 
9
                /// Store any object at key
 
10
                /// </summary>
 
11
                /// <param name="key"></param>
 
12
                /// <returns></returns>
 
13
                object this[string key] { get; set; }
 
14
 
 
15
                /// <summary>
 
16
                /// Set a typed value at key
 
17
                /// </summary>
 
18
                /// <typeparam name="T"></typeparam>
 
19
                /// <param name="key"></param>
 
20
                /// <param name="value"></param>
 
21
                void Set<T>(string key, T value);
 
22
                
 
23
                /// <summary>
 
24
                /// Get a typed value at key
 
25
                /// </summary>
 
26
                /// <typeparam name="T"></typeparam>
 
27
                /// <param name="key"></param>
 
28
                /// <returns></returns>
 
29
                T Get<T>(string key);
 
30
        }
 
31
}
 
 
b'\\ No newline at end of file'