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
- FixedSchema.cs
- ProgressBarRenderer.cs
- SynchronizedKeyedCollection.cs
- StylusPointPropertyId.cs
- StatusStrip.cs
- DoubleLinkListEnumerator.cs
- PageCatalogPart.cs
- XmlDocumentFragment.cs
- AttachedPropertyMethodSelector.cs
- SqlMetaData.cs
- GiveFeedbackEvent.cs
- EnvironmentPermission.cs
- RoutedUICommand.cs
- DataListItemEventArgs.cs
- FontFamilyIdentifier.cs
- elementinformation.cs
- DataGridViewElement.cs
- AssemblyCollection.cs
- basenumberconverter.cs
- JsonByteArrayDataContract.cs
- IRCollection.cs
- FormViewPageEventArgs.cs
- ControlParameter.cs
- SinglePageViewer.cs
- FontStretches.cs
- DataPagerCommandEventArgs.cs
- GroupBoxAutomationPeer.cs
- SymbolMethod.cs
- SqlTrackingQuery.cs
- TypographyProperties.cs
- BulletedList.cs
- BindingMemberInfo.cs
- XDeferredAxisSource.cs
- DataControlPagerLinkButton.cs
- BuilderPropertyEntry.cs
- ZipIOFileItemStream.cs
- FilterQueryOptionExpression.cs
- DBPropSet.cs
- X509ThumbprintKeyIdentifierClause.cs
- RoutedEventHandlerInfo.cs
- TerminateSequence.cs
- TemplateEditingFrame.cs
- Rfc4050KeyFormatter.cs
- ToolStripInSituService.cs
- HighlightVisual.cs
- TrackPointCollection.cs
- PeerNode.cs
- TextEditorCopyPaste.cs
- Enum.cs
- PerCallInstanceContextProvider.cs
- RSAPKCS1SignatureFormatter.cs
- ProviderIncompatibleException.cs
- MarkerProperties.cs
- RtfToXamlReader.cs
- InitializationEventAttribute.cs
- SafePEFileHandle.cs
- designeractionlistschangedeventargs.cs
- PageCatalogPart.cs
- SelectionWordBreaker.cs
- GradientBrush.cs
- ReverseQueryOperator.cs
- RouteParser.cs
- WorkflowInstanceContextProvider.cs
- OptimalTextSource.cs
- EventLogger.cs
- MD5.cs
- DesignerVerbCollection.cs
- ImageDrawing.cs
- ScriptingRoleServiceSection.cs
- Baml2006KnownTypes.cs
- HatchBrush.cs
- ArgumentNullException.cs
- DesignerOptionService.cs
- Part.cs
- SecureConversationVersion.cs
- XslTransform.cs
- XmlAnyAttributeAttribute.cs
- Brushes.cs
- TaskFormBase.cs
- GradientStopCollection.cs
- Stopwatch.cs
- RegexGroup.cs
- SignatureToken.cs
- ExtendLockAsyncResult.cs
- SchemaCollectionCompiler.cs
- CompModSwitches.cs
- ServiceOperationListItemList.cs
- AutomationPeer.cs
- Span.cs
- designeractionlistschangedeventargs.cs
- SqlWebEventProvider.cs
- HostedBindingBehavior.cs
- DataKey.cs
- TextDecorationLocationValidation.cs
- EnumerableRowCollection.cs
- HtmlControl.cs
- SqlWorkflowInstanceStoreLock.cs
- PseudoWebRequest.cs
- WindowsRebar.cs
- CodeMemberMethod.cs