Code:
/ 4.0 / 4.0 / untmp / 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. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpInputStream.cs
- WorkflowOperationBehavior.cs
- DragEventArgs.cs
- CustomAttributeBuilder.cs
- BufferedGenericXmlSecurityToken.cs
- AppDomainAttributes.cs
- DataGridViewTopRowAccessibleObject.cs
- HttpListenerResponse.cs
- CacheDependency.cs
- PathFigureCollectionValueSerializer.cs
- PageHandlerFactory.cs
- PointLight.cs
- ServiceModelTimeSpanValidator.cs
- CodeGeneratorOptions.cs
- DataTablePropertyDescriptor.cs
- CodeGroup.cs
- XamlNamespaceHelper.cs
- DataTrigger.cs
- XpsS0ValidatingLoader.cs
- PropertyDescriptorCollection.cs
- HandleCollector.cs
- ObjectListCommandEventArgs.cs
- Polyline.cs
- ReflectionUtil.cs
- ControlBuilderAttribute.cs
- AutomationEventArgs.cs
- NotImplementedException.cs
- BehaviorEditorPart.cs
- FacetChecker.cs
- VersionUtil.cs
- COM2Enum.cs
- InvokeProviderWrapper.cs
- DynamicFilter.cs
- GenerateTemporaryAssemblyTask.cs
- MsmqHostedTransportConfiguration.cs
- EDesignUtil.cs
- MediaTimeline.cs
- JsonServiceDocumentSerializer.cs
- FixedPage.cs
- CatalogPart.cs
- PasswordRecovery.cs
- GatewayDefinition.cs
- Freezable.cs
- CharKeyFrameCollection.cs
- ListViewGroupConverter.cs
- JsonEncodingStreamWrapper.cs
- HitTestWithGeometryDrawingContextWalker.cs
- WindowsAltTab.cs
- CompoundFileStreamReference.cs
- TextRunTypographyProperties.cs
- SspiNegotiationTokenProvider.cs
- ResourceReferenceExpression.cs
- LogSwitch.cs
- ParenthesizePropertyNameAttribute.cs
- BrowserCapabilitiesFactory35.cs
- ListViewEditEventArgs.cs
- Int16Animation.cs
- XamlReaderHelper.cs
- XmlSchemaSimpleTypeUnion.cs
- TextServicesCompartment.cs
- AccessText.cs
- VSWCFServiceContractGenerator.cs
- DataView.cs
- SiteIdentityPermission.cs
- TypeSystemHelpers.cs
- _FixedSizeReader.cs
- baseshape.cs
- QilValidationVisitor.cs
- MethodBuilder.cs
- Tuple.cs
- TextSelectionHighlightLayer.cs
- AlphabeticalEnumConverter.cs
- __FastResourceComparer.cs
- wgx_sdk_version.cs
- IgnoreFileBuildProvider.cs
- UniqueConstraint.cs
- TimeStampChecker.cs
- MetadataCache.cs
- SystemIPInterfaceProperties.cs
- BuilderPropertyEntry.cs
- EventListener.cs
- Matrix3DStack.cs
- StateBag.cs
- ExecutedRoutedEventArgs.cs
- Parser.cs
- HwndHost.cs
- QilPatternVisitor.cs
- Base64Decoder.cs
- SqlBulkCopyColumnMappingCollection.cs
- ContextStaticAttribute.cs
- Clock.cs
- TextUtf8RawTextWriter.cs
- MaskDescriptor.cs
- StandardBindingCollectionElement.cs
- Expression.cs
- DocumentApplicationJournalEntry.cs
- PageParserFilter.cs
- Encoder.cs
- OutputWindow.cs
- MsmqChannelFactoryBase.cs