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
- HitTestDrawingContextWalker.cs
- ExpressionParser.cs
- HMACMD5.cs
- OneToOneMappingSerializer.cs
- LinkedList.cs
- RelatedEnd.cs
- HttpInputStream.cs
- EventDrivenDesigner.cs
- TextPenaltyModule.cs
- AmbientLight.cs
- ButtonAutomationPeer.cs
- StringAnimationUsingKeyFrames.cs
- WindowProviderWrapper.cs
- LineGeometry.cs
- ListMarkerSourceInfo.cs
- XmlCharType.cs
- DoubleLinkList.cs
- Popup.cs
- ProtectedConfiguration.cs
- TrackingCondition.cs
- List.cs
- documentsequencetextview.cs
- XPathScanner.cs
- SqlComparer.cs
- RewritingSimplifier.cs
- TextTreeTextBlock.cs
- DataTemplateKey.cs
- Rotation3D.cs
- CodeGen.cs
- Contracts.cs
- DocumentSequenceHighlightLayer.cs
- LinqDataSourceUpdateEventArgs.cs
- StrokeCollection2.cs
- XPathDocument.cs
- shaperfactoryquerycachekey.cs
- StylusButtonCollection.cs
- CreateUserErrorEventArgs.cs
- Camera.cs
- Int64AnimationBase.cs
- CalendarDataBindingHandler.cs
- ListMarkerLine.cs
- EmulateRecognizeCompletedEventArgs.cs
- SimpleWebHandlerParser.cs
- XmlReaderSettings.cs
- SocketAddress.cs
- AbandonedMutexException.cs
- XmlReflectionMember.cs
- CommandEventArgs.cs
- TemplateBindingExpressionConverter.cs
- HashAlgorithm.cs
- XPathCompiler.cs
- TemplateBuilder.cs
- RouteItem.cs
- Column.cs
- SqlCharStream.cs
- ItemDragEvent.cs
- DescendentsWalker.cs
- GifBitmapDecoder.cs
- MethodRental.cs
- Mutex.cs
- TextBoxBase.cs
- ClientRoleProvider.cs
- _SslSessionsCache.cs
- SystemGatewayIPAddressInformation.cs
- MembershipUser.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- AllMembershipCondition.cs
- SHA256Cng.cs
- DrawingBrush.cs
- AuthenticatingEventArgs.cs
- EmissiveMaterial.cs
- SelectionRange.cs
- ADMembershipUser.cs
- CompilerWrapper.cs
- ButtonColumn.cs
- LineMetrics.cs
- NameTable.cs
- WorkflowQueueInfo.cs
- CodePageEncoding.cs
- RootProfilePropertySettingsCollection.cs
- ResourceDescriptionAttribute.cs
- TriggerBase.cs
- DataServiceRequestOfT.cs
- CodeParameterDeclarationExpression.cs
- XmlBuffer.cs
- ComboBoxRenderer.cs
- DoubleCollectionValueSerializer.cs
- ToolStripLabel.cs
- SingleAnimationUsingKeyFrames.cs
- PagesSection.cs
- NamespaceQuery.cs
- ListViewSelectEventArgs.cs
- DesignerDataStoredProcedure.cs
- TempEnvironment.cs
- CommandField.cs
- LayoutSettings.cs
- RenderCapability.cs
- ContourSegment.cs
- ItemsChangedEventArgs.cs
- ToolStripDesignerAvailabilityAttribute.cs