/*----------------------------------------------------------------------------------------*/ /// <summary> /// Registers the specified behavior with the module. When the request ends, the behavior's /// isntances will be cleaned up. /// </summary> /// <param name="behavior">The behavior in question.</param> public static void Register(OnePerRequestBehavior behavior) { GetListOfBehaviors().Add(behavior); }