Esempio n. 1
0
 public T GetOutput <T>(string name)
 {
     return(myOutputDictionary.Get <T>(name));
 }
Esempio n. 2
0
 /// <summary>
 /// Gets the value associated with the given key cast as a given type
 /// </summary>
 /// <typeparam name="T">The type to cast the value to</typeparam>
 /// <param name="name">The name of the value to get</param>
 /// <returns>The value cast as type <i>T</i></returns>
 public static T Get <T>(string name)
 {
     return(mySessionValues.Get <T>(name));
 }