}
#endregion
 private: GetValue( eKeys eKey )#region private: GetValue( eKeys eKey )
 /**//// <summary>
/// Gets the session value from the specified key.
/// </summary>
/// <param name="eKey">The key to get the value from</param>
/// <returns>The session value for the specified session key.
/// If the key does not exist, null is returned.
/// </returns>
private static object GetValue( eKeys eKey )
 {
return HttpContext.Current.Items[ eKey.ToString() ];
}
#endregion

 private SetMandatoryValue( eKeys eKey, Object oValue )#region private SetMandatoryValue( eKeys eKey, Object oValue )
private static void SetMandatoryValue( eKeys eKey, Object oValue )
 {
if ( null == oValue )
 {
throw new ApplicationException( String.Format(sMANDATORY_SESSION_VALUE_INVALID_NULL, eKey.ToString() ) );
}
}
#endregion
 private SetValue( eKeys eKey, Object oValue)#region private SetValue( eKeys eKey, Object oValue)
  上一页 [1] [2] [3] [4] [5] 下一页 |