Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / ALinq / OrderByQueryOptionExpression.cs / 1 / 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.Linq.Expressions; using System.Collections.Generic; using System; ////// 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.Linq.Expressions; using System.Collections.Generic; using System; ////// 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
- GroupBox.cs
- WebPartDisplayModeEventArgs.cs
- SqlUserDefinedTypeAttribute.cs
- LinqDataSourceStatusEventArgs.cs
- DoubleSumAggregationOperator.cs
- MembershipUser.cs
- OleAutBinder.cs
- SchemaTableColumn.cs
- EncodingNLS.cs
- DesignerDataTableBase.cs
- GeneralTransform.cs
- Assert.cs
- SmtpException.cs
- CriticalFinalizerObject.cs
- EntityDataSourceWrapper.cs
- XmlWhitespace.cs
- Mutex.cs
- IndentedTextWriter.cs
- WebPartMinimizeVerb.cs
- RowCache.cs
- MinMaxParagraphWidth.cs
- AdCreatedEventArgs.cs
- RelationshipEndCollection.cs
- ActiveXHost.cs
- IPAddressCollection.cs
- Light.cs
- ConnectionConsumerAttribute.cs
- Assert.cs
- ProcessInfo.cs
- DesignTimeDataBinding.cs
- DbConnectionInternal.cs
- SQLDecimal.cs
- EdmFunction.cs
- MaskInputRejectedEventArgs.cs
- SHA1CryptoServiceProvider.cs
- updateconfighost.cs
- PrePrepareMethodAttribute.cs
- SafeRegistryHandle.cs
- CustomError.cs
- MobilePage.cs
- JulianCalendar.cs
- AdapterDictionary.cs
- KeyPullup.cs
- RegisteredExpandoAttribute.cs
- AncestorChangedEventArgs.cs
- DBPropSet.cs
- SqlCommandBuilder.cs
- SchemaImporter.cs
- WebPartCancelEventArgs.cs
- PackageRelationshipCollection.cs
- CryptoStream.cs
- SiteOfOriginContainer.cs
- WebPartConnectionsEventArgs.cs
- DataGridViewRowEventArgs.cs
- EventLogTraceListener.cs
- GridViewColumn.cs
- ComponentCommands.cs
- _NegoStream.cs
- RotateTransform.cs
- FormClosedEvent.cs
- SupportsEventValidationAttribute.cs
- Transform3DGroup.cs
- Converter.cs
- ChangesetResponse.cs
- CodeTypeConstructor.cs
- HMACRIPEMD160.cs
- NetworkInformationException.cs
- FilterableAttribute.cs
- WebPartConnectVerb.cs
- Stack.cs
- BaseAppDomainProtocolHandler.cs
- ReadingWritingEntityEventArgs.cs
- UnsafeNativeMethods.cs
- PolyQuadraticBezierSegment.cs
- Operator.cs
- GenerateScriptTypeAttribute.cs
- Int32AnimationUsingKeyFrames.cs
- EncoderFallback.cs
- UidManager.cs
- RuntimeHandles.cs
- WindowsImpersonationContext.cs
- SmiEventSink_DeferedProcessing.cs
- SolidColorBrush.cs
- DateBoldEvent.cs
- COM2IDispatchConverter.cs
- DatePickerAutomationPeer.cs
- WindowsFont.cs
- DataGridViewSelectedRowCollection.cs
- BackgroundWorker.cs
- ModifierKeysConverter.cs
- _ProxyChain.cs
- XmlStreamNodeWriter.cs
- EntitySqlQueryBuilder.cs
- ResourceWriter.cs
- UserPersonalizationStateInfo.cs
- MessageFilterException.cs
- FixUpCollection.cs
- PersonalizableAttribute.cs
- WindowsListViewItemStartMenu.cs
- ClientSettingsProvider.cs