blob: cbe0b4f0d2ca0ece7d61aad3f91c1971a8456043 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
using System;
using System.Collections.Generic;
using System.Text;
namespace Janrain.OpenId.Session
{
public interface ISessionState
{
// Summary:
// Gets or sets a session value by numerical index.
//
// Parameters:
// index:
// The numerical index of the session value.
//
// Returns:
// The session-state value stored at the specified index.
object this[int index] { get; set; }
//
// Summary:
// Gets or sets a session value by name.
//
// Parameters:
// name:
// The key name of the session value.
//
// Returns:
// The session-state value with the specified name.
object this[string name] { get; set; }
//
// Summary:
// Adds a new item to the session-state collection.
//
// Parameters:
// name:
// The name of the item to add to the session-state collection.
//
// value:
// The value of the item to add to the session-state collection.
void Add(string name, object value);
//
// Summary:
// Removes all keys and values from the session-state collection.
void Clear();
//
// Summary:
// Deletes an item from the session-state collection.
//
// Parameters:
// name:
// The name of the item to delete from the session-state collection.
void Remove(string name);
//
// Summary:
// Gets the number of items in the session-state collection.
//
// Returns:
// The number of items in the collection.
int Count { get; }
}
}
|