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
- IODescriptionAttribute.cs
- ArrayWithOffset.cs
- OperationAbortedException.cs
- XappLauncher.cs
- ArgumentNullException.cs
- DragDrop.cs
- smtpconnection.cs
- MergeFailedEvent.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- TabRenderer.cs
- QueryOptionExpression.cs
- WebBrowserHelper.cs
- AssertHelper.cs
- DefaultMemberAttribute.cs
- SafeFindHandle.cs
- ServiceCredentialsElement.cs
- AssemblyAttributesGoHere.cs
- EntityClientCacheEntry.cs
- SecurityKeyIdentifier.cs
- InvalidDataContractException.cs
- SpellerHighlightLayer.cs
- TemplateXamlParser.cs
- TableCell.cs
- TerminatorSinks.cs
- String.cs
- ResourceReferenceKeyNotFoundException.cs
- TransactionScope.cs
- TerminateDesigner.cs
- HitTestParameters.cs
- UriSection.cs
- IISMapPath.cs
- PageParserFilter.cs
- IPPacketInformation.cs
- ObjectViewFactory.cs
- BinaryMethodMessage.cs
- ProcessHostServerConfig.cs
- PointAnimationClockResource.cs
- MaskDescriptors.cs
- ServiceDeploymentInfo.cs
- Normalization.cs
- UniformGrid.cs
- AttributeSetAction.cs
- TraceHandlerErrorFormatter.cs
- StrokeIntersection.cs
- FixedTextContainer.cs
- IndexOutOfRangeException.cs
- ValueProviderWrapper.cs
- GroupStyle.cs
- DefaultTextStoreTextComposition.cs
- X509SubjectKeyIdentifierClause.cs
- PackWebRequest.cs
- TransactionManager.cs
- QilStrConcatenator.cs
- MasterPageBuildProvider.cs
- QilLiteral.cs
- DataSourceControlBuilder.cs
- WindowsIdentity.cs
- CopyOfAction.cs
- LookupNode.cs
- SetterBase.cs
- XsltFunctions.cs
- FlowDocumentFormatter.cs
- PathGeometry.cs
- KnownBoxes.cs
- Image.cs
- ZipIORawDataFileBlock.cs
- BinaryCommonClasses.cs
- MenuEventArgs.cs
- RegexTree.cs
- SystemBrushes.cs
- FileDialogCustomPlaces.cs
- CompareValidator.cs
- Tool.cs
- PlacementWorkspace.cs
- TransactionContext.cs
- CryptoStream.cs
- IndexerNameAttribute.cs
- DoubleAnimationClockResource.cs
- VectorAnimationBase.cs
- XmlSignatureProperties.cs
- XmlValidatingReaderImpl.cs
- ControlBindingsCollection.cs
- TextWriterTraceListener.cs
- Variable.cs
- FlowDocumentPage.cs
- DesignerInterfaces.cs
- XPathChildIterator.cs
- PeerName.cs
- WebConfigurationManager.cs
- ExtensionElementCollection.cs
- XslUrlEditor.cs
- VirtualizingStackPanel.cs
- MaskedTextProvider.cs
- FlowDocument.cs
- UserPreferenceChangedEventArgs.cs
- DBCommand.cs
- RunWorkerCompletedEventArgs.cs
- ThreadStartException.cs
- CodeObjectCreateExpression.cs
- DataSetSchema.cs