} // end of function - Process /*----------------------- InsertParamComment ----------------------------*/ /// <summary> /// /// </summary> /// <param name="ep"></param> protected virtual void InsertParamComment(EditPoint ep, int offset) { var f = Context.CodeElement as CodeFunction; Debug.WriteLine("CodeFunction.DocComment (initially): " + f.DocComment); if (f != null) { ep.InsertLine(""); ep.PadToColumn(offset); ep.InsertLine("/// <summary>"); ep.PadToColumn(offset); ep.InsertLine("/// "); ep.PadToColumn(offset); ep.Insert("/// </summary>"); foreach (var parm in f.Parameters) { CodeParameter codeParam = parm as CodeParameter; ep.InsertLine(""); ep.PadToColumn(offset); ep.Insert("/// <param name=\"" + codeParam.Name + "\"></param>"); } Debug.WriteLine("CodeFunction.DocComment: " + f.DocComment); } return; } // end of function - InsertParamComment