/// <summary> /// Initializes a new instance of the <see cref="MigrationManager"/> class. /// </summary> /// <param name="service">Provides access to core services.</param> /// <param name="scriptManager">Provides the ability to invoke scripts.</param> /// <exception cref="ArgumentNullException"> /// <paramref name="service"/> is null /// or /// <paramref name="scriptManager"/> is null. /// </exception> public MigrationManager(IMigrationService service, IScriptManager scriptManager) { scriptManager.AssertNotNull(nameof(scriptManager)); service.AssertNotNull(nameof(service)); this.scriptManager = scriptManager; this.service = service; }