//------------------------------------------------------------------------------ // // // Microsoft // 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 class constructor. /// /// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeConstructor : CodeMemberMethod { private CodeExpressionCollection baseConstructorArgs = new CodeExpressionCollection(); private CodeExpressionCollection chainedConstructorArgs = new CodeExpressionCollection(); /// /// /// Initializes a new instance of . /// /// public CodeConstructor() { Name = ".ctor"; } /// /// /// Gets or sets the base constructor arguments. /// /// public CodeExpressionCollection BaseConstructorArgs { get { return baseConstructorArgs; } } /// /// /// Gets or sets the chained constructor arguments. /// /// public CodeExpressionCollection ChainedConstructorArgs { get { return chainedConstructorArgs; } } } }