Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeRemoveEventStatement.cs / 1305376 / CodeRemoveEventStatement.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeRemoveEventStatement : CodeStatement { private CodeEventReferenceExpression eventRef; private CodeExpression listener; ////// Represents a event detach statement. /// ////// public CodeRemoveEventStatement() { } ////// Initializes a new instance of ///. /// /// public CodeRemoveEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener) { this.eventRef = eventRef; this.listener = listener; } ////// Initializes a new instance of the ///class using the specified arguments. /// /// public CodeRemoveEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener) { this.eventRef = new CodeEventReferenceExpression(targetObject, eventName); this.listener = listener; } ///[To be supplied.] ////// public CodeEventReferenceExpression Event{ get { if (eventRef == null) { eventRef = new CodeEventReferenceExpression(); } return eventRef; } set { eventRef = value; } } ///[To be supplied.] ////// public CodeExpression Listener { get { return listener; } set { listener = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The listener. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeRemoveEventStatement : CodeStatement { private CodeEventReferenceExpression eventRef; private CodeExpression listener; ////// Represents a event detach statement. /// ////// public CodeRemoveEventStatement() { } ////// Initializes a new instance of ///. /// /// public CodeRemoveEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener) { this.eventRef = eventRef; this.listener = listener; } ////// Initializes a new instance of the ///class using the specified arguments. /// /// public CodeRemoveEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener) { this.eventRef = new CodeEventReferenceExpression(targetObject, eventName); this.listener = listener; } ///[To be supplied.] ////// public CodeEventReferenceExpression Event{ get { if (eventRef == null) { eventRef = new CodeEventReferenceExpression(); } return eventRef; } set { eventRef = value; } } ///[To be supplied.] ////// public CodeExpression Listener { get { return listener; } set { listener = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The listener. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- assertwrapper.cs
- ColumnWidthChangedEvent.cs
- CreatingCookieEventArgs.cs
- DataGridComponentEditor.cs
- DbConnectionPoolCounters.cs
- Menu.cs
- GraphicsPath.cs
- ToolStripStatusLabel.cs
- TdsParser.cs
- Metadata.cs
- DataControlExtensions.cs
- FixedDocument.cs
- PartialList.cs
- OperationResponse.cs
- ObjectListSelectEventArgs.cs
- CounterNameConverter.cs
- CompiledQuery.cs
- CfgSemanticTag.cs
- PageBuildProvider.cs
- XmlTextReaderImplHelpers.cs
- GridItemPatternIdentifiers.cs
- CounterCreationDataCollection.cs
- MediaTimeline.cs
- NetDataContractSerializer.cs
- BinaryNode.cs
- SectionVisual.cs
- Compiler.cs
- KeyboardDevice.cs
- ArrayTypeMismatchException.cs
- LinqExpressionNormalizer.cs
- C14NUtil.cs
- IdentityHolder.cs
- BinaryParser.cs
- ListBindingConverter.cs
- IQueryable.cs
- TemplateParser.cs
- Screen.cs
- PropertyDescriptorCollection.cs
- ColorTranslator.cs
- HttpChannelBindingToken.cs
- TextSchema.cs
- HashUtility.cs
- Button.cs
- Memoizer.cs
- MonthCalendarDesigner.cs
- XmlSchemaSimpleContentExtension.cs
- EmptyArray.cs
- MarkupProperty.cs
- EditingScopeUndoUnit.cs
- FunctionNode.cs
- ChannelManager.cs
- FixUp.cs
- Point4DValueSerializer.cs
- PropertyManager.cs
- DocumentPageTextView.cs
- ActivationArguments.cs
- ServicePointManagerElement.cs
- ProxyWebPartManagerDesigner.cs
- ReservationNotFoundException.cs
- _NativeSSPI.cs
- BaseHashHelper.cs
- TextFormatterImp.cs
- FindCriteriaCD1.cs
- NativeMethods.cs
- Soap.cs
- ArcSegment.cs
- HotCommands.cs
- ColorMap.cs
- MSAAEventDispatcher.cs
- DocumentPageTextView.cs
- SimpleHandlerBuildProvider.cs
- AdCreatedEventArgs.cs
- RoutedEventValueSerializer.cs
- OleDbCommandBuilder.cs
- MetadataCacheItem.cs
- ActiveXHost.cs
- EmbeddedMailObjectCollectionEditor.cs
- ToggleButton.cs
- TreeNodeMouseHoverEvent.cs
- ListViewItem.cs
- DependencyPropertyKind.cs
- WebPartMinimizeVerb.cs
- ExeConfigurationFileMap.cs
- ToolStripItemTextRenderEventArgs.cs
- CodeIdentifiers.cs
- DataGridViewRowConverter.cs
- ToolStripRendererSwitcher.cs
- PrimitiveSchema.cs
- XPathNode.cs
- rsa.cs
- DataAdapter.cs
- securitymgrsite.cs
- WindowsImpersonationContext.cs
- Composition.cs
- AssemblyCacheEntry.cs
- Process.cs
- HeaderCollection.cs
- QueryResponse.cs
- EventProviderWriter.cs
- CodeFieldReferenceExpression.cs