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
- SiteMapNodeItemEventArgs.cs
- FileClassifier.cs
- ScriptManager.cs
- CanonicalFontFamilyReference.cs
- NavigatorOutput.cs
- QilStrConcat.cs
- ClientApiGenerator.cs
- SettingsPropertyValueCollection.cs
- MessageQueueInstaller.cs
- CodeLinePragma.cs
- TypeKeyValue.cs
- StandardOleMarshalObject.cs
- WebPartManagerDesigner.cs
- MatrixStack.cs
- MediaElement.cs
- BitmapEffectRenderDataResource.cs
- Size.cs
- KeyProperty.cs
- ContainerParagraph.cs
- DetailsView.cs
- CodeDesigner.cs
- RoutedCommand.cs
- PrimaryKeyTypeConverter.cs
- Condition.cs
- HyperLinkDesigner.cs
- CompositeControl.cs
- DataGridHyperlinkColumn.cs
- RegexReplacement.cs
- PaperSource.cs
- CodeParameterDeclarationExpressionCollection.cs
- TimeoutTimer.cs
- Native.cs
- OpenFileDialog.cs
- SettingsSection.cs
- FilterEventArgs.cs
- ReferenceEqualityComparer.cs
- ObjectViewFactory.cs
- MetadataArtifactLoaderFile.cs
- HMACSHA384.cs
- Funcletizer.cs
- ObjectContext.cs
- RecognizerStateChangedEventArgs.cs
- DataGridViewToolTip.cs
- IDQuery.cs
- GeometryConverter.cs
- XmlSchemaSimpleContent.cs
- StrokeCollectionDefaultValueFactory.cs
- ImageIndexEditor.cs
- Byte.cs
- InvalidPrinterException.cs
- BaseTransportHeaders.cs
- DocumentPage.cs
- KnownTypes.cs
- BadImageFormatException.cs
- CollectionEditor.cs
- NativeCompoundFileAPIs.cs
- DebugInfoExpression.cs
- HotCommands.cs
- SafeFileHandle.cs
- SoapEnvelopeProcessingElement.cs
- _NegotiateClient.cs
- ItemsControl.cs
- CustomAttributeSerializer.cs
- HostedNamedPipeTransportManager.cs
- Classification.cs
- RealizationContext.cs
- TypeDescriptionProvider.cs
- StdValidatorsAndConverters.cs
- ProxyHwnd.cs
- SqlXml.cs
- StrokeDescriptor.cs
- StylusPointDescription.cs
- ExplicitDiscriminatorMap.cs
- AssemblySettingAttributes.cs
- ListItemParagraph.cs
- DrawingContext.cs
- ConstructorBuilder.cs
- TraceSwitch.cs
- ErrorFormatterPage.cs
- XmlNavigatorStack.cs
- TailCallAnalyzer.cs
- CodeAttributeDeclarationCollection.cs
- CatalogZone.cs
- AnnotationDocumentPaginator.cs
- FlowDocumentReaderAutomationPeer.cs
- PrintPreviewControl.cs
- SignedXml.cs
- DesignerLoader.cs
- BooleanExpr.cs
- BaseTemplateParser.cs
- ExceptionHandler.cs
- PlaceHolder.cs
- LeftCellWrapper.cs
- CFStream.cs
- NativeMethods.cs
- _SslState.cs
- NameTable.cs
- FrameworkContentElement.cs
- ControlValuePropertyAttribute.cs
- XmlUtil.cs