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
- PerfCounters.cs
- SymbolType.cs
- ListViewInsertionMark.cs
- ContextMenuStrip.cs
- Utility.cs
- ItemsPanelTemplate.cs
- DataConnectionHelper.cs
- XsdCachingReader.cs
- ErrorHandlingReceiver.cs
- FixedTextSelectionProcessor.cs
- CollectionChangeEventArgs.cs
- DockEditor.cs
- TreeNodeCollection.cs
- DataServiceHostFactory.cs
- ModelUtilities.cs
- SessionEndingEventArgs.cs
- Int32AnimationBase.cs
- SqlUserDefinedAggregateAttribute.cs
- IdentityManager.cs
- InsufficientMemoryException.cs
- BaseServiceProvider.cs
- ListBindingHelper.cs
- PieceDirectory.cs
- XsdCachingReader.cs
- QilStrConcat.cs
- BasicKeyConstraint.cs
- _UriSyntax.cs
- TransactionManager.cs
- TextTreeRootTextBlock.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- RequestQueryParser.cs
- XhtmlBasicImageAdapter.cs
- StringUtil.cs
- PipelineModuleStepContainer.cs
- EmbeddedObject.cs
- DbConnectionPool.cs
- ThicknessAnimationBase.cs
- _HeaderInfoTable.cs
- ThrowHelper.cs
- ListViewItem.cs
- HttpHandlersSection.cs
- ExtenderProvidedPropertyAttribute.cs
- ModuleBuilderData.cs
- XPathNodePointer.cs
- BinaryObjectInfo.cs
- ProcessHostFactoryHelper.cs
- CommandPlan.cs
- HtmlControl.cs
- Enlistment.cs
- TreeNodeSelectionProcessor.cs
- TableNameAttribute.cs
- IntSecurity.cs
- NameValueCollection.cs
- HttpCachePolicy.cs
- ConfigXmlWhitespace.cs
- Token.cs
- SqlDependencyListener.cs
- SqlGatherProducedAliases.cs
- ProfileSettingsCollection.cs
- XmlNodeComparer.cs
- WindowsListView.cs
- EventManager.cs
- BufferModesCollection.cs
- SoapFormatter.cs
- SafeLibraryHandle.cs
- ListControlDesigner.cs
- TransformCollection.cs
- FontUnit.cs
- CodeVariableReferenceExpression.cs
- DesigntimeLicenseContextSerializer.cs
- GPRECTF.cs
- DataGridCellItemAutomationPeer.cs
- StructuredTypeEmitter.cs
- AutomationElementIdentifiers.cs
- MasterPageCodeDomTreeGenerator.cs
- SecurityTokenInclusionMode.cs
- Operand.cs
- PromptStyle.cs
- DataGridCommandEventArgs.cs
- CommandEventArgs.cs
- AggregateNode.cs
- StrokeCollection.cs
- NetCodeGroup.cs
- InputChannelAcceptor.cs
- UserCancellationException.cs
- CqlQuery.cs
- EntityDataSource.cs
- SortedList.cs
- UriSectionReader.cs
- Accessors.cs
- documentsequencetextpointer.cs
- OLEDB_Util.cs
- NamespaceList.cs
- VerticalAlignConverter.cs
- BrowserDefinition.cs
- EnumerableRowCollection.cs
- PriorityChain.cs
- DocumentApplicationJournalEntry.cs
- UnsafeNativeMethods.cs
- NativeMethods.cs