/// <summary>
    /// Initializes a new instance of the <see cref="InitializationManager"/> class.
    /// </summary>
    /// <param name="initializationActionDiscoverer">The initialization Action discoverer.</param>
    /// <param name="initializationActionExecutor">The initialization Action executor.</param>
    /// <param name="actions">The action container.</param>
    public InitializationManager(InitializationActionDiscoverer initializationActionDiscoverer, InitializationActionExecutor initializationActionExecutor, IDictionary<int, IList<InitializationAction>> actions)
    {
      if (initializationActionDiscoverer == null)
      {
        throw new ArgumentNullException("initializationActionDiscoverer");
      }

      if (initializationActionExecutor == null)
      {
        throw new ArgumentNullException("initializationActionExecutor");
      }

      if (actions == null)
      {
        throw new ArgumentNullException("actions");
      }

      this.initializationActionDiscoverer = initializationActionDiscoverer;
      this.initializationActionExecutor = initializationActionExecutor;
      this.actions = actions;
    }
Exemple #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="InitializationManager"/> class.
        /// </summary>
        /// <param name="initializationActionDiscoverer">The initialization Action discoverer.</param>
        /// <param name="initializationActionExecutor">The initialization Action executor.</param>
        /// <param name="actions">The action container.</param>
        public InitializationManager(InitializationActionDiscoverer initializationActionDiscoverer, InitializationActionExecutor initializationActionExecutor, IDictionary <int, IList <InitializationAction> > actions)
        {
            if (initializationActionDiscoverer == null)
            {
                throw new ArgumentNullException("initializationActionDiscoverer");
            }

            if (initializationActionExecutor == null)
            {
                throw new ArgumentNullException("initializationActionExecutor");
            }

            if (actions == null)
            {
                throw new ArgumentNullException("actions");
            }

            this.initializationActionDiscoverer = initializationActionDiscoverer;
            this.initializationActionExecutor   = initializationActionExecutor;
            this.actions = actions;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="InitializationManager"/> class.
 /// </summary>
 /// <param name="initializationActionDiscoverer">The initialization Action discoverer.</param>
 /// <param name="initializationActionExecutor">The initialization Action executor.</param>
 public InitializationManager(InitializationActionDiscoverer initializationActionDiscoverer, InitializationActionExecutor initializationActionExecutor) : this(initializationActionDiscoverer, initializationActionExecutor, new Dictionary<int, IList<InitializationAction>>())
 {
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InitializationManager"/> class.
 /// </summary>
 /// <param name="initializationActionDiscoverer">The initialization Action discoverer.</param>
 /// <param name="initializationActionExecutor">The initialization Action executor.</param>
 public InitializationManager(InitializationActionDiscoverer initializationActionDiscoverer, InitializationActionExecutor initializationActionExecutor) : this(initializationActionDiscoverer, initializationActionExecutor, new Dictionary <int, IList <InitializationAction> >())
 {
 }