Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / ALinq / QueryOptionExpression.cs / 1 / QueryOptionExpression.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Respresents a query option in resource bound expression tree.
//
//
// @owner [....]
//---------------------------------------------------------------------
namespace System.Data.Services.Client
{
using System;
using System.Diagnostics;
using System.Linq.Expressions;
///
/// An resource specific expression representing a query option.
///
internal abstract class QueryOptionExpression : Expression
{
///
/// Creates a QueryOptionExpression expression
///
/// expression node type
/// the return type of the expression
internal QueryOptionExpression(ExpressionType nodeType, Type type) : base(nodeType, type)
{
}
///
/// Composes the expression with this one when it's specified multiple times.
///
/// to compose.
///
/// The expression that results from composing the expression with this one.
///
internal virtual QueryOptionExpression ComposeMultipleSpecification(QueryOptionExpression previous)
{
Debug.Assert(previous != null, "other != null");
Debug.Assert(previous.GetType() == this.GetType(), "other.GetType == this.GetType() -- otherwise it's not the same specification");
return this;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Respresents a query option in resource bound expression tree.
//
//
// @owner [....]
//---------------------------------------------------------------------
namespace System.Data.Services.Client
{
using System;
using System.Diagnostics;
using System.Linq.Expressions;
///
/// An resource specific expression representing a query option.
///
internal abstract class QueryOptionExpression : Expression
{
///
/// Creates a QueryOptionExpression expression
///
/// expression node type
/// the return type of the expression
internal QueryOptionExpression(ExpressionType nodeType, Type type) : base(nodeType, type)
{
}
///
/// Composes the expression with this one when it's specified multiple times.
///
/// to compose.
///
/// The expression that results from composing the expression with this one.
///
internal virtual QueryOptionExpression ComposeMultipleSpecification(QueryOptionExpression previous)
{
Debug.Assert(previous != null, "other != null");
Debug.Assert(previous.GetType() == this.GetType(), "other.GetType == this.GetType() -- otherwise it's not the same specification");
return this;
}
}
}
// 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
- VersionedStream.cs
- MarkedHighlightComponent.cs
- CustomValidator.cs
- Single.cs
- SqlInternalConnection.cs
- TextSelection.cs
- XmlArrayAttribute.cs
- OperationContext.cs
- DataSysAttribute.cs
- TabPanel.cs
- WindowsScrollBar.cs
- TraceLog.cs
- PointLightBase.cs
- FindSimilarActivitiesVerb.cs
- IdentityModelStringsVersion1.cs
- UnsafeMethods.cs
- InfoCardRSACryptoProvider.cs
- FrameworkContextData.cs
- ClientClassGenerator.cs
- EntityKey.cs
- UInt64Storage.cs
- BuildResult.cs
- FreezableCollection.cs
- DataObjectPastingEventArgs.cs
- WebPartRestoreVerb.cs
- MenuItem.cs
- TextEditorContextMenu.cs
- DesignParameter.cs
- SmiSettersStream.cs
- InheritedPropertyChangedEventArgs.cs
- XmlWrappingReader.cs
- PageCatalogPart.cs
- BackEase.cs
- ExpressionBuilderContext.cs
- DataGridAddNewRow.cs
- DeviceContexts.cs
- ConnectionsZone.cs
- SafeBuffer.cs
- NavigateEvent.cs
- EventSinkActivityDesigner.cs
- CapabilitiesUse.cs
- RootCodeDomSerializer.cs
- EnvironmentPermission.cs
- DBAsyncResult.cs
- DrawingAttributes.cs
- SQLDateTime.cs
- GridViewCancelEditEventArgs.cs
- EntityDataSourceView.cs
- GeneralTransform3D.cs
- DynamicMethod.cs
- TableRow.cs
- XmlSerializationWriter.cs
- SliderAutomationPeer.cs
- ProfileService.cs
- PrtCap_Public.cs
- HierarchicalDataTemplate.cs
- RecordBuilder.cs
- SynchronizationContext.cs
- LogRecordSequence.cs
- PackageDigitalSignatureManager.cs
- UnknownWrapper.cs
- SurrogateSelector.cs
- QilGenerator.cs
- XmlBufferReader.cs
- peersecuritysettings.cs
- XsltLibrary.cs
- XmlSchemaRedefine.cs
- StoreItemCollection.cs
- LassoHelper.cs
- GlyphElement.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- GridItem.cs
- Font.cs
- ToolBarButtonClickEvent.cs
- XmlSchemaType.cs
- CustomPopupPlacement.cs
- QueryTask.cs
- COM2ExtendedBrowsingHandler.cs
- Viewport2DVisual3D.cs
- LinqExpressionNormalizer.cs
- CfgSemanticTag.cs
- VariableReference.cs
- StreamProxy.cs
- Container.cs
- WbmpConverter.cs
- ProfileSettings.cs
- ObjectStateEntry.cs
- ListenerConfig.cs
- Pen.cs
- TextStore.cs
- SettingsBase.cs
- TableLayoutColumnStyleCollection.cs
- CertificateReferenceElement.cs
- PolyBezierSegment.cs
- MachineKeyConverter.cs
- ConfigurationValidatorBase.cs
- RewritingPass.cs
- MexBindingElement.cs
- WindowCollection.cs
- ListViewHitTestInfo.cs