예제 #1
0
 void Comment(Dictionary<string, Documentation> docs, string name, CodeCommentStatementCollection comments)
 {
     if (comments.Count > 0 && comments[0].Comment.Text == "<remarks/>") {
         comments.RemoveAt(0);
     }
     if (docs.ContainsKey(name)) {
         comments.Insert(0, new CodeCommentStatement("<summary>" + docs[name].Text + "</summary>", true));
         docs[name].Used = true;
     }
 }