Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeBinaryOperatorExpression.cs / 1305376 / CodeBinaryOperatorExpression.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 binary operator expression.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeBinaryOperatorExpression : CodeExpression {
private CodeBinaryOperatorType op;
private CodeExpression left;
private CodeExpression right;
///
///
/// Initializes a new instance of .
///
///
public CodeBinaryOperatorExpression() {
}
///
///
/// Initializes a new instance of
/// using the specified
/// parameters.
///
///
public CodeBinaryOperatorExpression(CodeExpression left, CodeBinaryOperatorType op, CodeExpression right) {
Right = right;
Operator = op;
Left = left;
}
///
///
/// Gets or sets
/// the code expression on the right of the operator.
///
///
public CodeExpression Right {
get {
return right;
}
set {
right = value;
}
}
///
///
/// Gets or sets
/// the code expression on the left of the operator.
///
///
public CodeExpression Left {
get {
return left;
}
set {
left = value;
}
}
///
///
/// Gets or sets
/// the operator in the binary operator expression.
///
///
public CodeBinaryOperatorType Operator {
get {
return op;
}
set {
op = 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 binary operator expression.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeBinaryOperatorExpression : CodeExpression {
private CodeBinaryOperatorType op;
private CodeExpression left;
private CodeExpression right;
///
///
/// Initializes a new instance of .
///
///
public CodeBinaryOperatorExpression() {
}
///
///
/// Initializes a new instance of
/// using the specified
/// parameters.
///
///
public CodeBinaryOperatorExpression(CodeExpression left, CodeBinaryOperatorType op, CodeExpression right) {
Right = right;
Operator = op;
Left = left;
}
///
///
/// Gets or sets
/// the code expression on the right of the operator.
///
///
public CodeExpression Right {
get {
return right;
}
set {
right = value;
}
}
///
///
/// Gets or sets
/// the code expression on the left of the operator.
///
///
public CodeExpression Left {
get {
return left;
}
set {
left = value;
}
}
///
///
/// Gets or sets
/// the operator in the binary operator expression.
///
///
public CodeBinaryOperatorType Operator {
get {
return op;
}
set {
op = 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
- DayRenderEvent.cs
- FillErrorEventArgs.cs
- DateTimeConverter2.cs
- DeobfuscatingStream.cs
- CodeCompiler.cs
- HttpProfileBase.cs
- BitmapDownload.cs
- NumericUpDownAccelerationCollection.cs
- XmlSerializerSection.cs
- HttpFileCollection.cs
- DeflateEmulationStream.cs
- DBSchemaRow.cs
- CallInfo.cs
- ResolveNameEventArgs.cs
- DataGrid.cs
- RegionInfo.cs
- PeerNodeAddress.cs
- DigestComparer.cs
- Choices.cs
- XslException.cs
- SchemaNames.cs
- PatternMatcher.cs
- Attributes.cs
- rsa.cs
- BindingWorker.cs
- sqlstateclientmanager.cs
- SpecialFolderEnumConverter.cs
- UnitySerializationHolder.cs
- AssociatedControlConverter.cs
- _AcceptOverlappedAsyncResult.cs
- SqlTriggerAttribute.cs
- SoapSchemaExporter.cs
- SafeFileMapViewHandle.cs
- DrawingContextWalker.cs
- TransactionValidationBehavior.cs
- IsolatedStorageFilePermission.cs
- StyleBamlTreeBuilder.cs
- ExitEventArgs.cs
- PageEventArgs.cs
- ClientSession.cs
- DataGridViewImageCell.cs
- Oid.cs
- SelectionManager.cs
- dtdvalidator.cs
- EdmComplexTypeAttribute.cs
- TrackingServices.cs
- RijndaelManagedTransform.cs
- HandledMouseEvent.cs
- ToolZoneDesigner.cs
- XmlSortKey.cs
- BuildResultCache.cs
- XmlQueryType.cs
- ListView.cs
- Timer.cs
- RuntimeResourceSet.cs
- ViewGenerator.cs
- DataRelation.cs
- arabicshape.cs
- FormViewActionList.cs
- TreeView.cs
- StringWriter.cs
- XmlHierarchicalEnumerable.cs
- BaseInfoTable.cs
- ProcessInputEventArgs.cs
- RegularExpressionValidator.cs
- HwndStylusInputProvider.cs
- XmlReflectionImporter.cs
- DataRowView.cs
- RTTypeWrapper.cs
- MonthCalendar.cs
- ManagementObjectCollection.cs
- NavigationPropertyEmitter.cs
- WindowsBrush.cs
- XDRSchema.cs
- InputQueueChannelAcceptor.cs
- BindingsSection.cs
- Variant.cs
- TypeContext.cs
- DiscardableAttribute.cs
- RadioButtonPopupAdapter.cs
- DecimalConstantAttribute.cs
- ExpressionList.cs
- ToolStripContentPanel.cs
- XmlSchemaAttribute.cs
- Error.cs
- X509Certificate2Collection.cs
- XmlSchemaDocumentation.cs
- CodeExporter.cs
- Empty.cs
- AuthorizationRuleCollection.cs
- WebPartPersonalization.cs
- FragmentQueryKB.cs
- MappingMetadataHelper.cs
- LinkClickEvent.cs
- UrlPath.cs
- Bezier.cs
- ScaleTransform3D.cs
- HostAdapter.cs
- ForceCopyBuildProvider.cs
- ValidateNames.cs