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
- EnvelopedPkcs7.cs
- UserNameSecurityTokenAuthenticator.cs
- SecureStringHasher.cs
- ProviderUtil.cs
- ActiveDesignSurfaceEvent.cs
- ScriptControlManager.cs
- EntityDataSourceViewSchema.cs
- QuaternionRotation3D.cs
- BamlLocalizationDictionary.cs
- TextContainerHelper.cs
- DesignerEditorPartChrome.cs
- String.cs
- BuildProviderAppliesToAttribute.cs
- Switch.cs
- XhtmlBasicImageAdapter.cs
- XmlWrappingReader.cs
- ListViewInsertEventArgs.cs
- KnownBoxes.cs
- TreeNodeStyle.cs
- XmlEntity.cs
- SqlDataSourceTableQuery.cs
- AdCreatedEventArgs.cs
- Int32RectConverter.cs
- TogglePattern.cs
- MatrixUtil.cs
- AsyncCompletedEventArgs.cs
- ComponentChangingEvent.cs
- HttpContextServiceHost.cs
- DoWorkEventArgs.cs
- AdapterDictionary.cs
- Vector3DConverter.cs
- HyperLink.cs
- Win32MouseDevice.cs
- SqlComparer.cs
- Process.cs
- ListItemCollection.cs
- InkPresenterAutomationPeer.cs
- UInt16Storage.cs
- ByteRangeDownloader.cs
- LocatorBase.cs
- HostingEnvironment.cs
- GridEntry.cs
- DefaultEventAttribute.cs
- DefaultCommandExtensionCallback.cs
- ETagAttribute.cs
- CollectionViewGroupInternal.cs
- DataGridSortCommandEventArgs.cs
- AssociationSetMetadata.cs
- RegexCode.cs
- DependencyPropertyHelper.cs
- DbConnectionOptions.cs
- EmptyCollection.cs
- ManagedIStream.cs
- TextEncodedRawTextWriter.cs
- FormsAuthentication.cs
- Avt.cs
- PaperSize.cs
- UnsafeNativeMethodsPenimc.cs
- ProfilePropertyMetadata.cs
- Point.cs
- EncoderParameter.cs
- MenuAutoFormat.cs
- iisPickupDirectory.cs
- ServiceBuildProvider.cs
- DataGridColumnFloatingHeader.cs
- ContainerFilterService.cs
- PerfCounterSection.cs
- CaseCqlBlock.cs
- Rotation3D.cs
- AuthorizationSection.cs
- WindowsListViewItemStartMenu.cs
- FixedPosition.cs
- HtmlTableRow.cs
- SqlInternalConnectionSmi.cs
- DateTimeOffsetStorage.cs
- Scripts.cs
- ParameterModifier.cs
- RootProfilePropertySettingsCollection.cs
- XmlSerializationWriter.cs
- ButtonColumn.cs
- DBCommandBuilder.cs
- PrintController.cs
- XmlLinkedNode.cs
- SspiNegotiationTokenAuthenticator.cs
- ToolBar.cs
- ChannelDispatcher.cs
- MatrixKeyFrameCollection.cs
- ByteStream.cs
- DesignerTextViewAdapter.cs
- InputScope.cs
- XmlProcessingInstruction.cs
- MessageSecurityOverHttpElement.cs
- SchemaSetCompiler.cs
- SelectionRangeConverter.cs
- DiscoveryDocumentSearchPattern.cs
- StickyNoteContentControl.cs
- SharedPersonalizationStateInfo.cs
- TraceData.cs
- DiscardableAttribute.cs
- MethodBuilderInstantiation.cs