Exemple #1
0
        private void AssertExpectedProjectInformation(ProjectInformation projectInformation)
        {
            projectInformation.Should().NotBeNull("The API requires project information");

            if (this.ExpectedProjectKey != null)
            {
                projectInformation.Key.Should().Be(this.ExpectedProjectKey, "Unexpected project key");
            }
        }
Exemple #2
0
        public void SetBoundProject(ProjectInformation project)
        {
            project.Should().NotBeNull();

            this.VerifyActiveSection();

            this.BoundProject = project;

            this.BindingStateChanged?.Invoke(this, EventArgs.Empty);
        }