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
- FieldMetadata.cs
- FunctionCommandText.cs
- xml.cs
- Track.cs
- OneOfElement.cs
- WSDualHttpBinding.cs
- ImportCatalogPart.cs
- TableStyle.cs
- PageAsyncTaskManager.cs
- FormViewPagerRow.cs
- ObjectDataSourceEventArgs.cs
- cache.cs
- UserControlCodeDomTreeGenerator.cs
- SchemaCollectionPreprocessor.cs
- ServiceHandle.cs
- StreamGeometry.cs
- FontWeightConverter.cs
- RegistryKey.cs
- Baml2006ReaderSettings.cs
- ScriptResourceHandler.cs
- SelectedDatesCollection.cs
- PropertyInformationCollection.cs
- HtmlTableRowCollection.cs
- ServiceCredentials.cs
- ProtectedConfigurationProviderCollection.cs
- TemplatedWizardStep.cs
- ISessionStateStore.cs
- DebugInfo.cs
- RuleProcessor.cs
- NetworkStream.cs
- MaterialGroup.cs
- GradientStop.cs
- PersonalizationStateInfo.cs
- DesignTimeSiteMapProvider.cs
- XdrBuilder.cs
- OracleConnection.cs
- ServiceModelActivationSectionGroup.cs
- XhtmlBasicPageAdapter.cs
- KeyTime.cs
- ParseChildrenAsPropertiesAttribute.cs
- ProcessInfo.cs
- RelationshipManager.cs
- ApplicationSecurityInfo.cs
- NoPersistHandle.cs
- OrderPreservingPipeliningMergeHelper.cs
- EventItfInfo.cs
- GridViewDeleteEventArgs.cs
- ByteStream.cs
- EntitySqlQueryState.cs
- WorkflowInstanceProxy.cs
- PropertyItem.cs
- ParameterBuilder.cs
- EntityTypeEmitter.cs
- UnsafeCollabNativeMethods.cs
- DiscoveryReference.cs
- FontSizeConverter.cs
- InputEventArgs.cs
- TailCallAnalyzer.cs
- Behavior.cs
- webbrowsersite.cs
- Image.cs
- UpdateRecord.cs
- MaterialCollection.cs
- MsmqTransportSecurity.cs
- CacheForPrimitiveTypes.cs
- ExtendedProperty.cs
- PropertyIdentifier.cs
- BamlBinaryReader.cs
- WebCategoryAttribute.cs
- VirtualDirectoryMapping.cs
- DragDrop.cs
- PointLight.cs
- VirtualPathData.cs
- Rect3D.cs
- Schema.cs
- Border.cs
- VirtualizedItemPattern.cs
- PixelFormat.cs
- StrongNameIdentityPermission.cs
- SecurityChannelListener.cs
- LinqDataSourceUpdateEventArgs.cs
- MenuAutoFormat.cs
- ListViewSortEventArgs.cs
- BindingManagerDataErrorEventArgs.cs
- unsafeIndexingFilterStream.cs
- COM2IProvidePropertyBuilderHandler.cs
- PingOptions.cs
- DeferredReference.cs
- WsiProfilesElement.cs
- StrongNameIdentityPermission.cs
- TypeDelegator.cs
- ICspAsymmetricAlgorithm.cs
- LoginView.cs
- XmlCustomFormatter.cs
- XPathEmptyIterator.cs
- Stylesheet.cs
- HttpCookie.cs
- BaseParagraph.cs
- CodeChecksumPragma.cs
- XPathAncestorQuery.cs