Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / ALinq / QueryOptionExpression.cs / 1305376 / 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 #pragma warning disable 618 internal QueryOptionExpression(ExpressionType nodeType, Type type) : base(nodeType, type) { } #pragma warning restore 618 ////// Composes the ///expression with this one when it's specified multiple times. /// to compose. /// /// The expression that results from composing the 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. //---------------------------------------------------------------------- //expression with this one. /// // 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 #pragma warning disable 618 internal QueryOptionExpression(ExpressionType nodeType, Type type) : base(nodeType, type) { } #pragma warning restore 618 ////// Composes the ///expression with this one when it's specified multiple times. /// to compose. /// /// The expression that results from composing the 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.expression with this one. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DrawingVisual.cs
- PrintDocument.cs
- StrongBox.cs
- EdmConstants.cs
- DataIdProcessor.cs
- ChannelDispatcher.cs
- ConfigurationElementProperty.cs
- ResourceSet.cs
- DataMemberFieldConverter.cs
- HtmlInputButton.cs
- ProxyOperationRuntime.cs
- ContextStaticAttribute.cs
- TaiwanCalendar.cs
- Icon.cs
- TimelineCollection.cs
- UrlPath.cs
- EventPropertyMap.cs
- ExpressionCopier.cs
- SecUtil.cs
- StorageRoot.cs
- WebHostUnsafeNativeMethods.cs
- complextypematerializer.cs
- ProjectionRewriter.cs
- UpdatePanelControlTrigger.cs
- GenericXmlSecurityToken.cs
- ToolStripDropDownClosedEventArgs.cs
- XhtmlBasicObjectListAdapter.cs
- WorkflowApplicationException.cs
- Rule.cs
- PageParser.cs
- Accessible.cs
- CrossSiteScriptingValidation.cs
- PlacementWorkspace.cs
- HelpKeywordAttribute.cs
- FontFamily.cs
- safesecurityhelperavalon.cs
- RSAPKCS1SignatureDeformatter.cs
- CustomAttributeSerializer.cs
- WebPartConnection.cs
- SynchronizedDispatch.cs
- WeakReferenceEnumerator.cs
- PlaceHolder.cs
- WindowsStatic.cs
- LoginDesigner.cs
- SoapExtensionStream.cs
- XmlSchemaObject.cs
- BuilderElements.cs
- PropertyManager.cs
- ListParagraph.cs
- SqlWebEventProvider.cs
- DefinitionUpdate.cs
- ZipFileInfoCollection.cs
- TextEncodedRawTextWriter.cs
- ResourcesGenerator.cs
- ButtonBase.cs
- Quaternion.cs
- TabItemAutomationPeer.cs
- Control.cs
- DashStyles.cs
- RecognizerStateChangedEventArgs.cs
- JournalEntryStack.cs
- EmptyControlCollection.cs
- BitConverter.cs
- DataGridView.cs
- CharEnumerator.cs
- RuntimeTrackingProfile.cs
- ExecutedRoutedEventArgs.cs
- TemplateBindingExtensionConverter.cs
- LocalizedNameDescriptionPair.cs
- _HTTPDateParse.cs
- FocusTracker.cs
- BindToObject.cs
- RectIndependentAnimationStorage.cs
- ToolboxItemCollection.cs
- NumberFunctions.cs
- SingleConverter.cs
- ComponentSerializationService.cs
- XpsImage.cs
- DiagnosticsConfiguration.cs
- ErrorFormatterPage.cs
- Emitter.cs
- ListBoxItem.cs
- PrintDialog.cs
- HeaderedContentControl.cs
- ITextView.cs
- UnconditionalPolicy.cs
- DeclaredTypeElementCollection.cs
- Size3D.cs
- Debug.cs
- Message.cs
- XsltException.cs
- LambdaReference.cs
- MulticastNotSupportedException.cs
- DocumentEventArgs.cs
- Random.cs
- IndexerNameAttribute.cs
- IconConverter.cs
- NaturalLanguageHyphenator.cs
- FixedSOMLineCollection.cs
- PixelFormatConverter.cs