Esempio n. 1
0
        private void methodComboBox_SelectedValueChanged(object sender, EventArgs e)
        {
            var className  = this.classComboBox.Text;
            var methodName = this.methodComboBox.Text;
            TaskDescriptionAttribute attributeInfo =
                this.reader.GetAttributeInfoForMethod(className, methodName);

            this.descriptionTextBox.Text = attributeInfo.TaskDescription;
            this.sourceCodeRichTextBox.ResetText();
            this.sourceCodeRichTextBox.AppendTextFormat(attributeInfo.SourceCode);
        }
 protected override void because()
 {
     _attribute = new TaskDescriptionAttribute("description");
 }