mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
Fix typo in ExecutionHandler class name (#2185)
This commit is contained in:
@@ -846,7 +846,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Agent
|
|||||||
|
|
||||||
internal void ExecuteAction(ManagementActionBase action, RunType runType)
|
internal void ExecuteAction(ManagementActionBase action, RunType runType)
|
||||||
{
|
{
|
||||||
var executionHandler = new ExecutonHandler(action);
|
var executionHandler = new ExecutionHandler(action);
|
||||||
executionHandler.RunNow(runType, this);
|
executionHandler.RunNow(runType, this);
|
||||||
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Management
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// manager that hooks up tree view with the individual views
|
/// manager that hooks up tree view with the individual views
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal sealed class ExecutonHandler : IDisposable
|
internal sealed class ExecutionHandler : IDisposable
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// handler that we delegate execution related tasks to
|
/// handler that we delegate execution related tasks to
|
||||||
@@ -148,7 +148,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Management
|
|||||||
/// using this provider whenever it has to specify an IServiceProvider to a component
|
/// using this provider whenever it has to specify an IServiceProvider to a component
|
||||||
/// that will be managed by this class
|
/// that will be managed by this class
|
||||||
/// </param>
|
/// </param>
|
||||||
public ExecutonHandler(IExecutionAwareManagementAction managementAction)
|
public ExecutionHandler(IExecutionAwareManagementAction managementAction)
|
||||||
{
|
{
|
||||||
this.managementAction = managementAction;
|
this.managementAction = managementAction;
|
||||||
this.executionHandlerDelegate = new ExecutionHandlerDelegate(managementAction);
|
this.executionHandlerDelegate = new ExecutionHandlerDelegate(managementAction);
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectManagement
|
|||||||
string sqlScript = string.Empty;
|
string sqlScript = string.Empty;
|
||||||
using (var actions = new AppRoleActions(dataContainer, configAction, prototype))
|
using (var actions = new AppRoleActions(dataContainer, configAction, prototype))
|
||||||
{
|
{
|
||||||
var executionHandler = new ExecutonHandler(actions);
|
var executionHandler = new ExecutionHandler(actions);
|
||||||
executionHandler.RunNow(runType, this);
|
executionHandler.RunNow(runType, this);
|
||||||
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectManagement
|
|||||||
|
|
||||||
using (CredentialActions actions = new CredentialActions(dataContainer, credential, configAction))
|
using (CredentialActions actions = new CredentialActions(dataContainer, credential, configAction))
|
||||||
{
|
{
|
||||||
var executionHandler = new ExecutonHandler(actions);
|
var executionHandler = new ExecutionHandler(actions);
|
||||||
executionHandler.RunNow(runType, this);
|
executionHandler.RunNow(runType, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -659,7 +659,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectManagement
|
|||||||
|
|
||||||
string sqlScript = string.Empty;
|
string sqlScript = string.Empty;
|
||||||
using (var actions = new DatabaseActions(dataContainer, configAction, prototype))
|
using (var actions = new DatabaseActions(dataContainer, configAction, prototype))
|
||||||
using (var executionHandler = new ExecutonHandler(actions))
|
using (var executionHandler = new ExecutionHandler(actions))
|
||||||
{
|
{
|
||||||
executionHandler.RunNow(runType, this);
|
executionHandler.RunNow(runType, this);
|
||||||
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectManagement
|
|||||||
string sqlScript = string.Empty;
|
string sqlScript = string.Empty;
|
||||||
using (var actions = new DatabaseRoleActions(dataContainer, configAction, prototype))
|
using (var actions = new DatabaseRoleActions(dataContainer, configAction, prototype))
|
||||||
{
|
{
|
||||||
var executionHandler = new ExecutonHandler(actions);
|
var executionHandler = new ExecutionHandler(actions);
|
||||||
executionHandler.RunNow(runType, this);
|
executionHandler.RunNow(runType, this);
|
||||||
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectManagement
|
|||||||
string sqlScript = string.Empty;
|
string sqlScript = string.Empty;
|
||||||
using (var actions = new LoginActions(dataContainer, configAction, prototype))
|
using (var actions = new LoginActions(dataContainer, configAction, prototype))
|
||||||
{
|
{
|
||||||
var executionHandler = new ExecutonHandler(actions);
|
var executionHandler = new ExecutionHandler(actions);
|
||||||
executionHandler.RunNow(runType, this);
|
executionHandler.RunNow(runType, this);
|
||||||
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectManagement
|
|||||||
{
|
{
|
||||||
using (var actions = new ServerActions(dataContainer, prototype, configAction))
|
using (var actions = new ServerActions(dataContainer, prototype, configAction))
|
||||||
{
|
{
|
||||||
var executionHandler = new ExecutonHandler(actions);
|
var executionHandler = new ExecutionHandler(actions);
|
||||||
executionHandler.RunNow(runType, this);
|
executionHandler.RunNow(runType, this);
|
||||||
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectManagement
|
|||||||
string sqlScript = string.Empty;
|
string sqlScript = string.Empty;
|
||||||
using (var actions = new ServerRoleActions(dataContainer, configAction, prototype))
|
using (var actions = new ServerRoleActions(dataContainer, configAction, prototype))
|
||||||
{
|
{
|
||||||
var executionHandler = new ExecutonHandler(actions);
|
var executionHandler = new ExecutionHandler(actions);
|
||||||
executionHandler.RunNow(runType, this);
|
executionHandler.RunNow(runType, this);
|
||||||
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -292,7 +292,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectManagement
|
|||||||
CDataContainer dataContainer = CreateUserDataContainer(serverConnection, user, configAction, databaseName);
|
CDataContainer dataContainer = CreateUserDataContainer(serverConnection, user, configAction, databaseName);
|
||||||
using (var actions = new UserActions(dataContainer, configAction, user, originalData))
|
using (var actions = new UserActions(dataContainer, configAction, user, originalData))
|
||||||
{
|
{
|
||||||
var executionHandler = new ExecutonHandler(actions);
|
var executionHandler = new ExecutionHandler(actions);
|
||||||
executionHandler.RunNow(runType, this);
|
executionHandler.RunNow(runType, this);
|
||||||
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
if (executionHandler.ExecutionResult == ExecutionMode.Failure)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user