Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / ALinq / OrderByQueryOptionExpression.cs / 1305376 / OrderByQueryOptionExpression.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Respresents a OrderBy query option in resource bound expression tree. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; using System.Collections.Generic; using System.Linq.Expressions; ////// An resource specific expression representing a OrderBy query option. /// internal class OrderByQueryOptionExpression : QueryOptionExpression { ///selectors for OrderBy query option private Listselectors; /// /// Creates a OrderByQueryOptionExpression expression /// /// the return type of the expression /// selectors for orderby expression internal OrderByQueryOptionExpression(Type type, Listselectors) : base((ExpressionType)ResourceExpressionType.OrderByQueryOption, type) { this.selectors = selectors; } /// /// Selectors for OrderBy expression /// internal ListSelectors { get { return this.selectors; } } /// /// Structure for selectors. Holds lambda expression + flag indicating desc. /// internal struct Selector { ////// lambda expression for selector /// internal readonly Expression Expression; ////// flag indicating if descending /// internal readonly bool Descending; ////// Creates a Selector /// /// lambda expression for selector /// flag indicating if descending internal Selector(Expression e, bool descending) { this.Expression = e; this.Descending = descending; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Respresents a OrderBy query option in resource bound expression tree. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; using System.Collections.Generic; using System.Linq.Expressions; ////// An resource specific expression representing a OrderBy query option. /// internal class OrderByQueryOptionExpression : QueryOptionExpression { ///selectors for OrderBy query option private Listselectors; /// /// Creates a OrderByQueryOptionExpression expression /// /// the return type of the expression /// selectors for orderby expression internal OrderByQueryOptionExpression(Type type, Listselectors) : base((ExpressionType)ResourceExpressionType.OrderByQueryOption, type) { this.selectors = selectors; } /// /// Selectors for OrderBy expression /// internal ListSelectors { get { return this.selectors; } } /// /// Structure for selectors. Holds lambda expression + flag indicating desc. /// internal struct Selector { ////// lambda expression for selector /// internal readonly Expression Expression; ////// flag indicating if descending /// internal readonly bool Descending; ////// Creates a Selector /// /// lambda expression for selector /// flag indicating if descending internal Selector(Expression e, bool descending) { this.Expression = e; this.Descending = descending; } } } } // 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
- PaperSize.cs
- PrinterSettings.cs
- WebServiceTypeData.cs
- Triplet.cs
- MessageHeaderAttribute.cs
- ApplicationCommands.cs
- SettingsContext.cs
- HttpApplicationFactory.cs
- ListViewItemSelectionChangedEvent.cs
- CommandValueSerializer.cs
- SystemDiagnosticsSection.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- OLEDB_Util.cs
- XmlSerializationGeneratedCode.cs
- DynamicEntity.cs
- ObfuscationAttribute.cs
- PrinterSettings.cs
- HiddenFieldPageStatePersister.cs
- GradientStopCollection.cs
- FormConverter.cs
- DetailsViewDeleteEventArgs.cs
- PageCatalogPart.cs
- oledbmetadatacolumnnames.cs
- SettingsPropertyValueCollection.cs
- CodeAttributeDeclaration.cs
- AuthorizationRule.cs
- SqlConnectionString.cs
- WebScriptServiceHostFactory.cs
- AncestorChangedEventArgs.cs
- CodeCompileUnit.cs
- MultipleCopiesCollection.cs
- webbrowsersite.cs
- GroupBoxDesigner.cs
- ToolBarPanel.cs
- SessionSwitchEventArgs.cs
- DbMetaDataCollectionNames.cs
- WebBrowserPermission.cs
- ValueConversionAttribute.cs
- ButtonBaseAdapter.cs
- DbConnectionStringBuilder.cs
- DispatchOperation.cs
- GridViewColumnHeaderAutomationPeer.cs
- ColorContextHelper.cs
- DbModificationCommandTree.cs
- ScrollBar.cs
- OleDbCommandBuilder.cs
- MailDefinition.cs
- DateTimeValueSerializer.cs
- XPathSelectionIterator.cs
- PlanCompilerUtil.cs
- filewebresponse.cs
- ExtentCqlBlock.cs
- DtdParser.cs
- SocketPermission.cs
- CollectionConverter.cs
- MinMaxParagraphWidth.cs
- HTTPNotFoundHandler.cs
- compensatingcollection.cs
- IpcClientManager.cs
- MostlySingletonList.cs
- TypeDelegator.cs
- Single.cs
- ArcSegment.cs
- StringFunctions.cs
- Line.cs
- TdsParserStaticMethods.cs
- DescendantOverDescendantQuery.cs
- CompilerState.cs
- GroupBox.cs
- CallTemplateAction.cs
- ConfigurationProperty.cs
- DesignerTransaction.cs
- TcpTransportSecurity.cs
- InternalSafeNativeMethods.cs
- DataTablePropertyDescriptor.cs
- WindowsListView.cs
- RetrieveVirtualItemEventArgs.cs
- TagPrefixCollection.cs
- documentation.cs
- GeneralTransform3DGroup.cs
- TimelineClockCollection.cs
- ToolStripHighContrastRenderer.cs
- GCHandleCookieTable.cs
- PolyBezierSegment.cs
- BufferModesCollection.cs
- EntityProxyFactory.cs
- PlainXmlDeserializer.cs
- FixedNode.cs
- SocketElement.cs
- DbConnectionPoolGroupProviderInfo.cs
- DataGridView.cs
- TreeNodeClickEventArgs.cs
- PathParser.cs
- AesCryptoServiceProvider.cs
- ScrollViewer.cs
- ProtectedConfiguration.cs
- HttpContextServiceHost.cs
- DoubleKeyFrameCollection.cs
- PropertyDescriptor.cs
- ObjectStateManagerMetadata.cs