Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / CodeDOM / CodeAssignStatement.cs / 1 / 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
- DataGridViewCellErrorTextNeededEventArgs.cs
- PeerTransportSecurityElement.cs
- OdbcDataReader.cs
- AutomationPropertyInfo.cs
- ZoomPercentageConverter.cs
- ListViewCancelEventArgs.cs
- MailAddress.cs
- MemberAccessException.cs
- RuntimeWrappedException.cs
- TrackingCondition.cs
- AssemblyCacheEntry.cs
- ModelPerspective.cs
- SingleConverter.cs
- ReaderWriterLock.cs
- PlainXmlDeserializer.cs
- SendSecurityHeader.cs
- WebDisplayNameAttribute.cs
- TouchFrameEventArgs.cs
- Point4DConverter.cs
- InplaceBitmapMetadataWriter.cs
- DataGridViewSelectedColumnCollection.cs
- EntryPointNotFoundException.cs
- HttpProfileBase.cs
- BamlRecordReader.cs
- TileBrush.cs
- Container.cs
- DataRowExtensions.cs
- XmlSchemaIdentityConstraint.cs
- DataBindingHandlerAttribute.cs
- TemplatePagerField.cs
- CodeTypeMemberCollection.cs
- Utils.cs
- RequestCachePolicy.cs
- WeakEventTable.cs
- TextBoxRenderer.cs
- DefaultProxySection.cs
- CssStyleCollection.cs
- MatrixCamera.cs
- DataGridViewCellStateChangedEventArgs.cs
- StandardTransformFactory.cs
- shaperfactoryquerycacheentry.cs
- TableRowCollection.cs
- XslUrlEditor.cs
- CalendarDay.cs
- WorkflowInstanceExtensionManager.cs
- DoubleStorage.cs
- DrawingCollection.cs
- SoapInteropTypes.cs
- BrowserDefinition.cs
- ItemList.cs
- Rotation3DKeyFrameCollection.cs
- DataTableCollection.cs
- BaseResourcesBuildProvider.cs
- CommentEmitter.cs
- LineServicesRun.cs
- SqlProviderManifest.cs
- Image.cs
- WebCategoryAttribute.cs
- DesignerCategoryAttribute.cs
- EncoderExceptionFallback.cs
- InvokeBinder.cs
- IncrementalReadDecoders.cs
- CombinedGeometry.cs
- XpsFilter.cs
- XPathItem.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Object.cs
- SequentialOutput.cs
- BaseParaClient.cs
- ThousandthOfEmRealPoints.cs
- DBCSCodePageEncoding.cs
- Point3D.cs
- TogglePattern.cs
- QueryStringHandler.cs
- SystemWebSectionGroup.cs
- PathTooLongException.cs
- _SafeNetHandles.cs
- Animatable.cs
- Regex.cs
- IdentifierService.cs
- LoginAutoFormat.cs
- HatchBrush.cs
- DiscoveryReferences.cs
- OleDbEnumerator.cs
- UnsafeNativeMethods.cs
- BinHexEncoder.cs
- CalendarDataBindingHandler.cs
- ResourcePermissionBaseEntry.cs
- ObjectViewEntityCollectionData.cs
- ServiceModelStringsVersion1.cs
- HandleCollector.cs
- Point3DAnimationUsingKeyFrames.cs
- JsonWriterDelegator.cs
- HtmlHistory.cs
- iisPickupDirectory.cs
- FontWeight.cs
- MexNamedPipeBindingCollectionElement.cs
- WriteableOnDemandStream.cs
- ChangesetResponse.cs
- HttpContextWrapper.cs