e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
63 lines
1.9 KiB
C#
63 lines
1.9 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="CodeConstructor.cs" company="Microsoft">
|
|
//
|
|
// <OWNER>[....]</OWNER>
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.CodeDom {
|
|
|
|
using System.Diagnostics;
|
|
using System;
|
|
using Microsoft.Win32;
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
|
|
/// <devdoc>
|
|
/// <para>
|
|
/// Represents a class constructor.
|
|
/// </para>
|
|
/// </devdoc>
|
|
[
|
|
ClassInterface(ClassInterfaceType.AutoDispatch),
|
|
ComVisible(true),
|
|
Serializable,
|
|
]
|
|
public class CodeConstructor : CodeMemberMethod {
|
|
private CodeExpressionCollection baseConstructorArgs = new CodeExpressionCollection();
|
|
private CodeExpressionCollection chainedConstructorArgs = new CodeExpressionCollection();
|
|
|
|
/// <devdoc>
|
|
/// <para>
|
|
/// Initializes a new instance of <see cref='System.CodeDom.CodeConstructor'/>.
|
|
/// </para>
|
|
/// </devdoc>
|
|
public CodeConstructor() {
|
|
Name = ".ctor";
|
|
}
|
|
|
|
/// <devdoc>
|
|
/// <para>
|
|
/// Gets or sets the base constructor arguments.
|
|
/// </para>
|
|
/// </devdoc>
|
|
public CodeExpressionCollection BaseConstructorArgs {
|
|
get {
|
|
return baseConstructorArgs;
|
|
}
|
|
}
|
|
|
|
/// <devdoc>
|
|
/// <para>
|
|
/// Gets or sets the chained constructor arguments.
|
|
/// </para>
|
|
/// </devdoc>
|
|
public CodeExpressionCollection ChainedConstructorArgs {
|
|
get {
|
|
return chainedConstructorArgs;
|
|
}
|
|
}
|
|
}
|
|
}
|