Example #1
0
 /// <summary>
 /// Puts state data into the session state with the specified key.
 /// </summary>
 /// <typeparam name="T">The type of data to put.</typeparam>
 /// <param name="key">An object representing the unique key with which the data is stored.</param>
 /// <param name="instance">An instance of <typeparamref name="T"/> to store.</param>
 public void Put <T>(object key, T instance)
 {
     _state.Put(key, instance);
 }