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
- EasingFunctionBase.cs
- StyleModeStack.cs
- ImageBrush.cs
- SrgsDocument.cs
- ServiceDescription.cs
- ConfigurationStrings.cs
- SqlConnectionString.cs
- JsonEnumDataContract.cs
- ConfigurationSectionGroupCollection.cs
- Switch.cs
- SourceFileBuildProvider.cs
- AnimationLayer.cs
- FloatUtil.cs
- DispatcherFrame.cs
- Int32EqualityComparer.cs
- LayoutDump.cs
- XmlSerializer.cs
- TagPrefixAttribute.cs
- ScrollBar.cs
- CustomError.cs
- SettingsPropertyValue.cs
- CatalogZoneBase.cs
- ConstructorBuilder.cs
- XmlWriter.cs
- NotifyIcon.cs
- MetadataSet.cs
- ComponentDesigner.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ReadOnlyCollectionBase.cs
- FormParameter.cs
- XmlByteStreamReader.cs
- CompModSwitches.cs
- ISAPIApplicationHost.cs
- InvalidDataException.cs
- BindingMAnagerBase.cs
- AspNetCompatibilityRequirementsAttribute.cs
- DropShadowBitmapEffect.cs
- StrongNameUtility.cs
- SplayTreeNode.cs
- ReadOnlyPropertyMetadata.cs
- SymbolType.cs
- SystemNetworkInterface.cs
- DataTableReader.cs
- ToolBarTray.cs
- ActiveDocumentEvent.cs
- XmlStrings.cs
- DBCSCodePageEncoding.cs
- XslCompiledTransform.cs
- Expr.cs
- SymbolPair.cs
- GeneralTransform3DTo2D.cs
- DateTimeSerializationSection.cs
- PathNode.cs
- HttpCachePolicy.cs
- IteratorFilter.cs
- CompModSwitches.cs
- UrlMappingCollection.cs
- ForeignKeyConstraint.cs
- SecUtil.cs
- MetadataException.cs
- OrderByQueryOptionExpression.cs
- WebPartMinimizeVerb.cs
- Int32CollectionConverter.cs
- invalidudtexception.cs
- FixedSOMLineRanges.cs
- AppDomainFactory.cs
- SQLBinary.cs
- MergeFailedEvent.cs
- DataContractSet.cs
- BuiltInExpr.cs
- OutputCacheSection.cs
- WpfSharedXamlSchemaContext.cs
- HandlerBase.cs
- FtpRequestCacheValidator.cs
- SByteStorage.cs
- SecurityToken.cs
- Matrix3D.cs
- DescendentsWalkerBase.cs
- AmbientLight.cs
- SystemEvents.cs
- IImplicitResourceProvider.cs
- ProfileService.cs
- RegexCompilationInfo.cs
- AuthenticationModulesSection.cs
- DropDownList.cs
- ConsoleTraceListener.cs
- NullToBooleanConverter.cs
- RunClient.cs
- Drawing.cs
- CompiledELinqQueryState.cs
- XamlReaderConstants.cs
- MgmtConfigurationRecord.cs
- DesignBindingPropertyDescriptor.cs
- ProbeDuplexCD1AsyncResult.cs
- SecurityHeaderTokenResolver.cs
- TraceFilter.cs
- HostAdapter.cs
- CategoryGridEntry.cs
- WebPartCollection.cs
- BitmapMetadata.cs