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
- SystemIPv4InterfaceProperties.cs
- JoinGraph.cs
- SHA1CryptoServiceProvider.cs
- LinearQuaternionKeyFrame.cs
- Button.cs
- Root.cs
- InsufficientMemoryException.cs
- Button.cs
- ExpressionParser.cs
- EntityContainer.cs
- SignedXml.cs
- TableLayoutColumnStyleCollection.cs
- RuntimeWrappedException.cs
- HtmlTableRowCollection.cs
- ObjectTypeMapping.cs
- FileFormatException.cs
- CompositeActivityCodeGenerator.cs
- ItemList.cs
- MemberPath.cs
- TrackingProfileCache.cs
- SqlUtil.cs
- FontInfo.cs
- NativeMethods.cs
- PKCS1MaskGenerationMethod.cs
- EntityClassGenerator.cs
- DecimalAnimation.cs
- EncryptedType.cs
- ImageMapEventArgs.cs
- RelOps.cs
- UICuesEvent.cs
- PenCursorManager.cs
- BindToObject.cs
- XslException.cs
- Line.cs
- ActivityIdHeader.cs
- Latin1Encoding.cs
- RuleElement.cs
- WindowsSecurityToken.cs
- DynamicValidator.cs
- FileDetails.cs
- X509RawDataKeyIdentifierClause.cs
- ObjectList.cs
- ToolStripDropDownClosedEventArgs.cs
- DebuggerAttributes.cs
- UIElementPropertyUndoUnit.cs
- Message.cs
- BigInt.cs
- ChildDocumentBlock.cs
- WebPartDisplayModeCollection.cs
- WmlCommandAdapter.cs
- ReadOnlyDictionary.cs
- Util.cs
- CustomCategoryAttribute.cs
- MailDefinition.cs
- DbConnectionPoolGroupProviderInfo.cs
- ContextMenuStrip.cs
- RoleManagerModule.cs
- CaseStatementSlot.cs
- SQLInt16Storage.cs
- IntSecurity.cs
- HtmlEmptyTagControlBuilder.cs
- ThreadStateException.cs
- SocketPermission.cs
- XPathScanner.cs
- HttpVersion.cs
- CompiledIdentityConstraint.cs
- SaveFileDialog.cs
- RelationshipEnd.cs
- ConfigXmlSignificantWhitespace.cs
- EtwTrackingBehaviorElement.cs
- MessageLogger.cs
- CoTaskMemHandle.cs
- DbgUtil.cs
- EndpointBehaviorElement.cs
- HttpContext.cs
- RequestValidator.cs
- HtmlTableCellCollection.cs
- CallContext.cs
- ServiceDescriptionData.cs
- ClientType.cs
- BamlRecordWriter.cs
- PrincipalPermission.cs
- WSSecurityPolicy.cs
- TextRunCacheImp.cs
- ProfileGroupSettingsCollection.cs
- RootBuilder.cs
- XmlDataSourceDesigner.cs
- XmlCharType.cs
- ToolStripOverflowButton.cs
- X509ChainElement.cs
- WorkflowMarkupSerializationManager.cs
- AuthenticateEventArgs.cs
- OdbcConnectionHandle.cs
- InitializingNewItemEventArgs.cs
- GridViewCancelEditEventArgs.cs
- SiteMapNodeItem.cs
- IteratorFilter.cs
- HostProtectionException.cs
- GeneratedView.cs
- IndentTextWriter.cs