Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlErrorCollection.cs
- StringAnimationUsingKeyFrames.cs
- DefaultValueAttribute.cs
- ProcessProtocolHandler.cs
- InputBindingCollection.cs
- SafeFileMappingHandle.cs
- AggregationMinMaxHelpers.cs
- EllipticalNodeOperations.cs
- LocatorManager.cs
- PropertyValueUIItem.cs
- ConfigPathUtility.cs
- CreateUserWizardStep.cs
- _ListenerRequestStream.cs
- TextModifierScope.cs
- Helpers.cs
- FileDialogCustomPlaces.cs
- Symbol.cs
- ThreadNeutralSemaphore.cs
- XmlSchemaAppInfo.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- FunctionParameter.cs
- FormParameter.cs
- SerialErrors.cs
- Image.cs
- SmtpNtlmAuthenticationModule.cs
- BStrWrapper.cs
- XPathScanner.cs
- EpmTargetTree.cs
- EncodingNLS.cs
- IOException.cs
- SymbolEqualComparer.cs
- GeneralTransform3DGroup.cs
- SchemaElementLookUpTable.cs
- TypeGeneratedEventArgs.cs
- _HTTPDateParse.cs
- SynchronizingStream.cs
- SHA1CryptoServiceProvider.cs
- ThaiBuddhistCalendar.cs
- addressfiltermode.cs
- PtsContext.cs
- AspNetHostingPermission.cs
- JsonSerializer.cs
- ConfigurationLocation.cs
- SymLanguageType.cs
- DoubleAnimation.cs
- GridViewDeletedEventArgs.cs
- SQLGuid.cs
- CurrentTimeZone.cs
- SecurityContext.cs
- XmlRawWriter.cs
- GACMembershipCondition.cs
- IsolatedStoragePermission.cs
- ReadOnlyDictionary.cs
- ListManagerBindingsCollection.cs
- SessionState.cs
- BitmapData.cs
- CacheMode.cs
- BoolLiteral.cs
- FontWeights.cs
- MouseGestureConverter.cs
- ArrangedElement.cs
- Debug.cs
- DataGridViewCellConverter.cs
- GridEntryCollection.cs
- DetailsViewDeleteEventArgs.cs
- CodeCommentStatementCollection.cs
- IODescriptionAttribute.cs
- returneventsaver.cs
- ProbeMatchesApril2005.cs
- BaseComponentEditor.cs
- ApplicationSettingsBase.cs
- Freezable.cs
- ActivityStateQuery.cs
- RadioButton.cs
- ActivityValidator.cs
- RepeatInfo.cs
- EventBookmark.cs
- WebSysDefaultValueAttribute.cs
- ExpressionHelper.cs
- FreezableDefaultValueFactory.cs
- DrawListViewSubItemEventArgs.cs
- CopyOnWriteList.cs
- DoubleLinkListEnumerator.cs
- NumberEdit.cs
- PassportAuthenticationModule.cs
- PenContexts.cs
- ComPlusTypeValidator.cs
- TrustLevelCollection.cs
- MultiDataTrigger.cs
- AttachmentCollection.cs
- Brushes.cs
- InternalPermissions.cs
- ModelItemDictionary.cs
- DocumentViewerConstants.cs
- EmptyStringExpandableObjectConverter.cs
- ByteStream.cs
- SqlConnectionString.cs
- ExpandedProjectionNode.cs
- IInstanceContextProvider.cs
- Vars.cs