/// <inheritdoc />
        public void Initialize(CommandDelegate commandDelegate)
        {
            if (CommandDelegate.HasContent())
            {
                throw new InvalidOperationException("The current application has already started.");
            }

            commandDelegate.NotNull(nameof(commandDelegate));

            CommandDelegate = commandDelegate;
        }