Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeEventReferenceExpression.cs / 1305376 / CodeEventReferenceExpression.cs
//------------------------------------------------------------------------------
//
//
// [....]
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.CodeDom {
using System.Diagnostics;
using System;
using Microsoft.Win32;
using System.Collections;
using System.Runtime.InteropServices;
///
/// [To be supplied.]
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeEventReferenceExpression : CodeExpression {
private CodeExpression targetObject;
private string eventName;
///
/// [To be supplied.]
///
public CodeEventReferenceExpression() {
}
///
/// [To be supplied.]
///
public CodeEventReferenceExpression(CodeExpression targetObject, string eventName) {
this.targetObject = targetObject;
this.eventName = eventName;
}
///
/// [To be supplied.]
///
public CodeExpression TargetObject {
get {
return targetObject;
}
set {
this.targetObject = value;
}
}
///
/// [To be supplied.]
///
public string EventName {
get {
return (eventName == null) ? string.Empty : eventName;
}
set {
eventName = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
//
// [....]
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.CodeDom {
using System.Diagnostics;
using System;
using Microsoft.Win32;
using System.Collections;
using System.Runtime.InteropServices;
///
/// [To be supplied.]
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeEventReferenceExpression : CodeExpression {
private CodeExpression targetObject;
private string eventName;
///
/// [To be supplied.]
///
public CodeEventReferenceExpression() {
}
///
/// [To be supplied.]
///
public CodeEventReferenceExpression(CodeExpression targetObject, string eventName) {
this.targetObject = targetObject;
this.eventName = eventName;
}
///
/// [To be supplied.]
///
public CodeExpression TargetObject {
get {
return targetObject;
}
set {
this.targetObject = value;
}
}
///
/// [To be supplied.]
///
public string EventName {
get {
return (eventName == null) ? string.Empty : eventName;
}
set {
eventName = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GenericRootAutomationPeer.cs
- DummyDataSource.cs
- SocketAddress.cs
- EncoderBestFitFallback.cs
- ResourceDescriptionAttribute.cs
- EntityObject.cs
- Component.cs
- EdmType.cs
- ElementMarkupObject.cs
- BaseAsyncResult.cs
- HScrollProperties.cs
- ParentQuery.cs
- DynamicPropertyReader.cs
- CharEnumerator.cs
- AlgoModule.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- EndpointAddress.cs
- PathGeometry.cs
- QueuedDeliveryRequirementsMode.cs
- CommandTreeTypeHelper.cs
- TCPListener.cs
- ZoneIdentityPermission.cs
- OptionUsage.cs
- FixedSOMPageElement.cs
- Classification.cs
- Int64AnimationBase.cs
- DataFormats.cs
- RtfToken.cs
- RequestCachingSection.cs
- Parameter.cs
- AssemblyAttributesGoHere.cs
- IdentityNotMappedException.cs
- Roles.cs
- MetadataFile.cs
- ArgumentValue.cs
- X509Certificate2Collection.cs
- EventLogPermissionEntryCollection.cs
- DataListCommandEventArgs.cs
- RelationshipFixer.cs
- ScriptResourceInfo.cs
- ConstructorBuilder.cs
- HyperLinkColumn.cs
- UdpTransportSettingsElement.cs
- CultureInfoConverter.cs
- InteropDesigner.xaml.cs
- Container.cs
- ListDictionary.cs
- ToolStripRendererSwitcher.cs
- DomainLiteralReader.cs
- PartitionResolver.cs
- ColorAnimation.cs
- LineInfo.cs
- FontStyle.cs
- X509ChainElement.cs
- RectIndependentAnimationStorage.cs
- HostedTransportConfigurationManager.cs
- AppearanceEditorPart.cs
- DesignTimeVisibleAttribute.cs
- QueueProcessor.cs
- SpeechRecognizer.cs
- Trace.cs
- SQLMoney.cs
- Profiler.cs
- NativeMethods.cs
- SqlInternalConnection.cs
- DataControlLinkButton.cs
- Content.cs
- ListViewItemMouseHoverEvent.cs
- Rotation3DAnimation.cs
- SchemaAttDef.cs
- QueueProcessor.cs
- EntityWrapperFactory.cs
- HashSetDebugView.cs
- ExtendedPropertyDescriptor.cs
- C14NUtil.cs
- COM2TypeInfoProcessor.cs
- ByteStack.cs
- ViewKeyConstraint.cs
- XmlDocument.cs
- RemotingServices.cs
- Translator.cs
- CompositeControl.cs
- BrowserTree.cs
- ListView.cs
- DocumentViewer.cs
- DataRowExtensions.cs
- WindowsListViewGroup.cs
- WpfKnownMemberInvoker.cs
- ToolStripButton.cs
- DescendantQuery.cs
- RectConverter.cs
- CodeSnippetStatement.cs
- httpstaticobjectscollection.cs
- Matrix.cs
- SqlFlattener.cs
- Ops.cs
- AffineTransform3D.cs
- PageAsyncTask.cs
- MatrixCamera.cs
- MouseGestureConverter.cs