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
- TriggerAction.cs
- unsafeIndexingFilterStream.cs
- TabItemWrapperAutomationPeer.cs
- XmlQualifiedNameTest.cs
- DesignSurfaceCollection.cs
- PersistenceTypeAttribute.cs
- AssemblyHash.cs
- SystemBrushes.cs
- StoragePropertyMapping.cs
- UncommonField.cs
- PreviewPrintController.cs
- GlyphingCache.cs
- FaultPropagationRecord.cs
- _ListenerAsyncResult.cs
- ShortcutKeysEditor.cs
- ZipArchive.cs
- NavigationProgressEventArgs.cs
- CqlWriter.cs
- FeatureAttribute.cs
- ToolStripLocationCancelEventArgs.cs
- DataGridViewUtilities.cs
- InvalidOleVariantTypeException.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- RadialGradientBrush.cs
- Profiler.cs
- MarkupProperty.cs
- Vector.cs
- SecurityHelper.cs
- UnaryNode.cs
- RSAPKCS1SignatureFormatter.cs
- Underline.cs
- MarshalDirectiveException.cs
- MessageLogger.cs
- CommandManager.cs
- DataRelationCollection.cs
- CustomCategoryAttribute.cs
- TransformerInfo.cs
- XmlNodeList.cs
- FixedSOMPageElement.cs
- SapiRecoContext.cs
- XmlSchemaImport.cs
- PaintValueEventArgs.cs
- StrokeSerializer.cs
- PropertyRecord.cs
- AnonymousIdentificationModule.cs
- ConfigurationPropertyCollection.cs
- WebAdminConfigurationHelper.cs
- HttpHandlerAction.cs
- UrlMappingCollection.cs
- Glyph.cs
- ObjectResult.cs
- XsdValidatingReader.cs
- DesignOnlyAttribute.cs
- TextRunProperties.cs
- RowToFieldTransformer.cs
- FileChangesMonitor.cs
- TTSEngineProxy.cs
- BatchServiceHost.cs
- controlskin.cs
- IndentTextWriter.cs
- EncryptedPackage.cs
- SweepDirectionValidation.cs
- PageThemeParser.cs
- CodeMethodInvokeExpression.cs
- HotCommands.cs
- VerifyHashRequest.cs
- ExpressionBuilderContext.cs
- SweepDirectionValidation.cs
- X509SecurityTokenParameters.cs
- WsdlParser.cs
- basecomparevalidator.cs
- EventData.cs
- ProtocolsConfigurationHandler.cs
- Select.cs
- MenuItem.cs
- GridEntryCollection.cs
- AssemblyContextControlItem.cs
- DesignerActionUI.cs
- IntPtr.cs
- ByteStorage.cs
- DataServiceExpressionVisitor.cs
- UnmanagedBitmapWrapper.cs
- StylusCollection.cs
- httpstaticobjectscollection.cs
- DataGridViewSelectedRowCollection.cs
- COSERVERINFO.cs
- Span.cs
- Section.cs
- XmlSchemaObjectTable.cs
- DataControlFieldHeaderCell.cs
- CustomMenuItemCollection.cs
- NullableDecimalSumAggregationOperator.cs
- WebEventTraceProvider.cs
- TypeValidationEventArgs.cs
- NavigationPropertyEmitter.cs
- PDBReader.cs
- UInt64Storage.cs
- SessionSwitchEventArgs.cs
- ConstraintCollection.cs
- SchemaImporterExtensionElementCollection.cs