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; }