/// <summary> /// Load an module /// </summary> /// <param name="module">Module that you want to load</param> public void LoadModule([NotNull] EssModule module) { Preconditions.IsTrue(RunningModules.Contains(module), "This module already loaded"); module.Load(); RunningModules.Add(module); }
/// <summary> /// Load an module /// </summary> /// <param name="module">Module that you want to load</param> public void LoadModule(EssModule module) { Preconditions.NotNull(module, "Module cannot be null"); Preconditions.IsTrue(RunningModules.Contains(module), "This module already loaded"); module.Load(); RunningModules.Add(module); }
/// <summary> /// Load an module /// </summary> /// <param name="module">Module that you want to load</param> public void LoadModule( EssModule module ) { Preconditions.NotNull( module, "Module cannot be null" ); Preconditions.IsTrue( RunningModules.Contains( module ), "This module already loaded" ); module.Load(); RunningModules.Add( module ); }