Exemple #1
0
        /// <summary>
        /// Unload ab module
        /// </summary>
        /// <param name="module">Module that you want to unload</param>
        public void UnloadModule([NotNull] EssModule module)
        {
            Preconditions.IsFalse(RunningModules.Contains(module), "This module isn't running");

            module.Unload();
            RunningModules.Remove(module);
        }
Exemple #2
0
        /// <summary>
        /// Unload ab module
        /// </summary>
        /// <param name="module">Module that you want to unload</param>
        public void UnloadModule(EssModule module)
        {
            Preconditions.NotNull(module, "Module cannot be null");
            Preconditions.IsFalse(RunningModules.Contains(module), "This module isn't running");

            module.Unload();
            RunningModules.Remove(module);
        }
        /// <summary>
        /// Unload ab module 
        /// </summary>
        /// <param name="module">Module that you want to unload</param>
        public void UnloadModule( EssModule module )
        {
            Preconditions.NotNull( module, "Module cannot be null" );
            Preconditions.IsFalse( RunningModules.Contains( module ), "This module isn't running" );

            module.Unload();
            RunningModules.Remove( module );
        }