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
- UpdateCommandGenerator.cs
- MenuItemBindingCollection.cs
- TransactionProtocolConverter.cs
- smtpconnection.cs
- RegexTree.cs
- AsymmetricKeyExchangeFormatter.cs
- SelectionRangeConverter.cs
- sqlnorm.cs
- Table.cs
- DataBindingCollectionEditor.cs
- _ConnectOverlappedAsyncResult.cs
- LinqExpressionNormalizer.cs
- ConnectionProviderAttribute.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ModelItem.cs
- HostUtils.cs
- ParameterExpression.cs
- OleDbException.cs
- Sorting.cs
- Errors.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ObjectViewEntityCollectionData.cs
- EditingScopeUndoUnit.cs
- ChoiceConverter.cs
- OptimisticConcurrencyException.cs
- SmiRecordBuffer.cs
- WasHttpModulesInstallComponent.cs
- SelectionPattern.cs
- WebPartExportVerb.cs
- BaseCollection.cs
- DictionaryBase.cs
- Label.cs
- EFTableProvider.cs
- PageThemeBuildProvider.cs
- Util.cs
- DataRecordInternal.cs
- BooleanAnimationUsingKeyFrames.cs
- AtomServiceDocumentSerializer.cs
- SrgsElementFactoryCompiler.cs
- MemoryMappedViewAccessor.cs
- TableProviderWrapper.cs
- Table.cs
- DesignerToolboxInfo.cs
- ExpressionTable.cs
- PersistNameAttribute.cs
- IpcServerChannel.cs
- LinqDataSourceHelper.cs
- ImageButton.cs
- SelectionEditor.cs
- HitTestWithGeometryDrawingContextWalker.cs
- LinqExpressionNormalizer.cs
- odbcmetadatacolumnnames.cs
- GroupItem.cs
- BitmapPalette.cs
- FrameworkReadOnlyPropertyMetadata.cs
- HealthMonitoringSectionHelper.cs
- OraclePermissionAttribute.cs
- PresentationSource.cs
- DoubleMinMaxAggregationOperator.cs
- ChannelFactory.cs
- ChameleonKey.cs
- BreakRecordTable.cs
- ColorContextHelper.cs
- KeyTimeConverter.cs
- EncryptedType.cs
- AesCryptoServiceProvider.cs
- OleDbConnectionFactory.cs
- PageWrapper.cs
- TextEditor.cs
- EdmTypeAttribute.cs
- HttpContextWrapper.cs
- ResourceSet.cs
- WorkflowServiceBehavior.cs
- FontUnit.cs
- COM2PictureConverter.cs
- LineInfo.cs
- XmlSchemaException.cs
- PersonalizationEntry.cs
- ConstructorNeedsTagAttribute.cs
- MetadataArtifactLoaderCompositeResource.cs
- PreservationFileWriter.cs
- EntityDataSourceDataSelection.cs
- SchemaConstraints.cs
- Assert.cs
- ZeroOpNode.cs
- ObjectKeyFrameCollection.cs
- storepermission.cs
- SmtpReplyReader.cs
- ToolStripComboBox.cs
- ColumnWidthChangingEvent.cs
- EmbeddedMailObject.cs
- DynamicObject.cs
- Menu.cs
- ProfileModule.cs
- RectKeyFrameCollection.cs
- XmlSchemaDatatype.cs
- DbParameterHelper.cs
- ListBox.cs
- EmptyStringExpandableObjectConverter.cs
- RelAssertionDirectKeyIdentifierClause.cs