Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeAssignStatement.cs / 1305376 / CodeAssignStatement.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;
///
///
/// Represents a simple assignment statement.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeAssignStatement : CodeStatement {
private CodeExpression left;
private CodeExpression right;
///
///
/// Initializes a new instance of .
///
///
public CodeAssignStatement() {
}
///
///
/// Initializes a new instance of that represents the
/// specified assignment values.
///
///
public CodeAssignStatement(CodeExpression left, CodeExpression right) {
Left = left;
Right = right;
}
///
///
/// Gets or sets
/// the variable to be assigned to.
///
///
public CodeExpression Left {
get {
return left;
}
set {
left = value;
}
}
///
///
/// Gets or sets
/// the value to assign.
///
///
public CodeExpression Right {
get {
return right;
}
set {
right = 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;
///
///
/// Represents a simple assignment statement.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeAssignStatement : CodeStatement {
private CodeExpression left;
private CodeExpression right;
///
///
/// Initializes a new instance of .
///
///
public CodeAssignStatement() {
}
///
///
/// Initializes a new instance of that represents the
/// specified assignment values.
///
///
public CodeAssignStatement(CodeExpression left, CodeExpression right) {
Left = left;
Right = right;
}
///
///
/// Gets or sets
/// the variable to be assigned to.
///
///
public CodeExpression Left {
get {
return left;
}
set {
left = value;
}
}
///
///
/// Gets or sets
/// the value to assign.
///
///
public CodeExpression Right {
get {
return right;
}
set {
right = 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
- RegistryPermission.cs
- ExpressionBuilder.cs
- DataListDesigner.cs
- SelectionProviderWrapper.cs
- DateTimeConstantAttribute.cs
- GridItemPattern.cs
- EncryptionUtility.cs
- ScriptManager.cs
- AmbiguousMatchException.cs
- Label.cs
- CompilerScope.cs
- ElementUtil.cs
- ControlEvent.cs
- ContextMarshalException.cs
- GeneralTransform3DGroup.cs
- DataTableReader.cs
- StringAnimationBase.cs
- XmlSchemas.cs
- OleDbConnection.cs
- JsonCollectionDataContract.cs
- JsonFormatGeneratorStatics.cs
- WindowsIPAddress.cs
- ResolveDuplexAsyncResult.cs
- XmlObjectSerializerReadContextComplexJson.cs
- BaseAsyncResult.cs
- GeneralTransform2DTo3DTo2D.cs
- TypeRefElement.cs
- RectangleConverter.cs
- ParameterRefs.cs
- TabControl.cs
- BulletedList.cs
- SecurityTokenSerializer.cs
- TextTreeInsertElementUndoUnit.cs
- MailMessage.cs
- ViewCellSlot.cs
- OrthographicCamera.cs
- TextRangeEditLists.cs
- UnsafeNativeMethodsPenimc.cs
- ValidationSummary.cs
- SafeWaitHandle.cs
- Char.cs
- InvalidPrinterException.cs
- AttributeProviderAttribute.cs
- ThousandthOfEmRealDoubles.cs
- RegexTree.cs
- JpegBitmapDecoder.cs
- TagPrefixAttribute.cs
- LineProperties.cs
- AxHost.cs
- FigureParagraph.cs
- ImageDrawing.cs
- DocumentScope.cs
- BrowserCapabilitiesFactoryBase.cs
- _NtlmClient.cs
- TypedElement.cs
- JournalEntry.cs
- HelpProvider.cs
- PropertyMappingExceptionEventArgs.cs
- InternalConfigEventArgs.cs
- IPGlobalProperties.cs
- SiteMapDataSource.cs
- GroupBox.cs
- CacheMemory.cs
- ScrollChrome.cs
- DictionaryEntry.cs
- ConfigurationPropertyAttribute.cs
- NumericUpDown.cs
- cookie.cs
- EdmError.cs
- versioninfo.cs
- XmlHierarchyData.cs
- FlowDocumentFormatter.cs
- QilReference.cs
- ThreadPool.cs
- PolicyManager.cs
- CompModHelpers.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- XmlSchemaSimpleType.cs
- _RequestCacheProtocol.cs
- XmlAtomicValue.cs
- FormsAuthenticationEventArgs.cs
- OSFeature.cs
- DataControlImageButton.cs
- XmlValidatingReader.cs
- DataObjectPastingEventArgs.cs
- XmlUnspecifiedAttribute.cs
- MultiBinding.cs
- Constraint.cs
- XmlNavigatorFilter.cs
- ToolStripSeparator.cs
- objectquery_tresulttype.cs
- HtmlTextArea.cs
- PolicyLevel.cs
- HashHelpers.cs
- CollectionContainer.cs
- ScriptReferenceEventArgs.cs
- PermissionAttributes.cs
- ListViewCancelEventArgs.cs
- EventLogEntryCollection.cs
- followingsibling.cs