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
- SerializationInfo.cs
- EntityClassGenerator.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- EventMap.cs
- COM2Enum.cs
- URLAttribute.cs
- FixedSOMContainer.cs
- ProfileProvider.cs
- StrongNameMembershipCondition.cs
- ScrollItemPatternIdentifiers.cs
- ProcessMessagesAsyncResult.cs
- Compilation.cs
- BevelBitmapEffect.cs
- Error.cs
- SoapCodeExporter.cs
- ProgressBarHighlightConverter.cs
- GlobalProxySelection.cs
- TimeSpanStorage.cs
- WindowsAuthenticationEventArgs.cs
- SoapAttributes.cs
- Marshal.cs
- IdentityVerifier.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- listitem.cs
- WindowsTab.cs
- TransformDescriptor.cs
- UICuesEvent.cs
- SafeRightsManagementSessionHandle.cs
- StickyNoteAnnotations.cs
- EnumMember.cs
- DataSourceXmlTextReader.cs
- ClientSettings.cs
- ServiceNameCollection.cs
- DigitShape.cs
- GradientStop.cs
- ExtentKey.cs
- HtmlValidationSummaryAdapter.cs
- Exceptions.cs
- BamlMapTable.cs
- XmlSchemaAnyAttribute.cs
- EnumerableCollectionView.cs
- RoleServiceManager.cs
- DropSource.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- BCLDebug.cs
- DrawToolTipEventArgs.cs
- Process.cs
- WebBrowserPermission.cs
- SqlBuilder.cs
- FixedLineResult.cs
- DayRenderEvent.cs
- StrokeNodeData.cs
- XmlNodeComparer.cs
- XmlAttributeCollection.cs
- DesignBindingEditor.cs
- StylusOverProperty.cs
- CacheOutputQuery.cs
- PowerEase.cs
- QueryLifecycle.cs
- DataColumnChangeEvent.cs
- PnrpPermission.cs
- MemberHolder.cs
- ClientScriptManager.cs
- ContainerControl.cs
- DbConnectionPoolGroup.cs
- StringAnimationBase.cs
- ProfileProvider.cs
- RpcCryptoContext.cs
- Tag.cs
- dtdvalidator.cs
- errorpatternmatcher.cs
- XmlDataCollection.cs
- EncoderParameter.cs
- CompositeDuplexBindingElement.cs
- XmlCharacterData.cs
- BufferedReadStream.cs
- CommandLineParser.cs
- LinkUtilities.cs
- CodeDirectionExpression.cs
- ConnectorDragDropGlyph.cs
- XamlToRtfWriter.cs
- HtmlMeta.cs
- URLString.cs
- HtmlInputCheckBox.cs
- PersonalizationDictionary.cs
- OpacityConverter.cs
- SelectionHighlightInfo.cs
- TextTreeInsertElementUndoUnit.cs
- Geometry3D.cs
- AttributeQuery.cs
- NonSerializedAttribute.cs
- SecUtil.cs
- LoginViewDesigner.cs
- Base64Decoder.cs
- SelectionEditingBehavior.cs
- AsymmetricKeyExchangeDeformatter.cs
- Rfc2898DeriveBytes.cs
- PerfCounters.cs
- HtmlTableRowCollection.cs
- HWStack.cs