//------------------------------------------------------------------------------ // // // [....] // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; /// /// Represents a comment. /// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeCommentStatement : CodeStatement { private CodeComment comment; /// /// /// Initializes a new instance of . /// /// public CodeCommentStatement() { } /// /// [To be supplied.] /// public CodeCommentStatement(CodeComment comment) { this.comment = comment; } /// /// /// Initializes a new instance of with the specified text as /// contents. /// /// public CodeCommentStatement(string text) { comment = new CodeComment(text); } /// /// [To be supplied.] /// public CodeCommentStatement(string text, bool docComment) { comment = new CodeComment(text, docComment); } /// /// [To be supplied.] /// public CodeComment Comment { get { return comment; } set { comment = value; } } } }