Beispiel #1
0
 /// <devdoc>
 ///    <para>[To be supplied.]</para>
 /// </devdoc>
 public CodeRemoveEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener)
 {
     _eventRef = new CodeEventReferenceExpression(targetObject, eventName);
     _listener = listener;
 }
Beispiel #2
0
 /// <devdoc>
 ///    <para>
 ///       Initializes a new instance of the <see cref='Microsoft.CodeDom.CodeRemoveEventStatement'/> class using the specified arguments.
 ///    </para>
 /// </devdoc>
 public CodeRemoveEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener)
 {
     _eventRef = eventRef;
     _listener = listener;
 }