SonarLint.VisualStudio.Integration.Binding.BindingWorkflow.BindingWorkflow C# (CSharp) Method

BindingWorkflow() public method

public BindingWorkflow ( IHost host, ConnectionInformation connectionInformation, ProjectInformation project ) : EnvDTE
host IHost
connectionInformation SonarLint.VisualStudio.Integration.Service.ConnectionInformation
project SonarLint.VisualStudio.Integration.Service.ProjectInformation
return EnvDTE
        public BindingWorkflow(IHost host, ConnectionInformation connectionInformation, ProjectInformation project)
        {
            if (host == null)
            {
                throw new ArgumentNullException(nameof(host));
            }

            if (connectionInformation == null)
            {
                throw new ArgumentNullException(nameof(connectionInformation));
            }

            if (project == null)
            {
                throw new ArgumentNullException(nameof(project));
            }

            this.host = host;
            this.connectionInformation = connectionInformation;
            this.project = project;
            this.projectSystem = this.host.GetService<IProjectSystemHelper>();
            this.projectSystem.AssertLocalServiceIsNotNull();

            this.solutionBindingOperation = new SolutionBindingOperation(
                    this.host,
                    this.connectionInformation,
                    this.project.Key);
        }