SonarLint.VisualStudio.Integration.UnitTests.ConfigurableInfoBar.ConfigurableInfoBar C# (CSharp) Méthode

ConfigurableInfoBar() public méthode

public ConfigurableInfoBar ( string message, string buttonText, ImageMoniker imageMoniker ) : Microsoft.VisualStudio.Imaging.Interop
message string
buttonText string
imageMoniker ImageMoniker
Résultat Microsoft.VisualStudio.Imaging.Interop
        public ConfigurableInfoBar(string message, string buttonText, ImageMoniker imageMoniker)
        {
            Assert.IsNotNull(message, "Message is null");
            Assert.IsNotNull(buttonText, "Button text is null");
            Assert.IsNotNull(imageMoniker, "image moniker is null");

            this.Message = message;
            this.ButtonText = buttonText;
            this.Image = imageMoniker;
        }