blob: 0a29e595957a7ced01416893283aa0df652d8217 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
//------------------------------------------------------------------------------
// <copyright file="CodeConstructor.cs" company="Microsoft">
//
// <OWNER>Microsoft</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;
}
}
}
}
|