1 //------------------------------------------------------------------------------
2 // <copyright file="CodeMemberEvent.cs" company="Microsoft">
4 // <OWNER>Microsoft</OWNER>
5 // Copyright (c) Microsoft Corporation. All rights reserved.
7 //------------------------------------------------------------------------------
9 namespace System.CodeDom {
11 using System.Diagnostics;
13 using Microsoft.Win32;
14 using System.Collections;
15 using System.Runtime.InteropServices;
19 /// Represents an event member.
23 ClassInterface(ClassInterfaceType.AutoDispatch),
27 public class CodeMemberEvent : CodeTypeMember {
28 private CodeTypeReference type;
29 private CodeTypeReference privateImplements = null;
30 private CodeTypeReferenceCollection implementationTypes = null;
33 /// <para>[To be supplied.]</para>
35 public CodeMemberEvent() {
40 /// Gets or sets the member field type.
43 public CodeTypeReference Type {
46 type = new CodeTypeReference("");
56 /// <para>[To be supplied.]</para>
58 public CodeTypeReference PrivateImplementationType {
60 return privateImplements;
63 privateImplements = value;
68 /// <para>[To be supplied.]</para>
70 public CodeTypeReferenceCollection ImplementationTypes {
72 if (implementationTypes == null) {
73 implementationTypes = new CodeTypeReferenceCollection();
75 return implementationTypes;