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
- XmlUrlEditor.cs
- EUCJPEncoding.cs
- SupportingTokenParameters.cs
- MimeTypePropertyAttribute.cs
- WebPartConnectionsCancelEventArgs.cs
- AsmxEndpointPickerExtension.cs
- LabelDesigner.cs
- BinaryConverter.cs
- DocumentViewer.cs
- SimpleFieldTemplateFactory.cs
- XmlParser.cs
- CombinedGeometry.cs
- CompareValidator.cs
- ReadingWritingEntityEventArgs.cs
- TemplateControl.cs
- nulltextcontainer.cs
- DeferredReference.cs
- ProviderConnectionPoint.cs
- FastEncoder.cs
- PermissionListSet.cs
- X509PeerCertificateAuthenticationElement.cs
- CodeTypeReferenceExpression.cs
- ImplicitInputBrush.cs
- EncodingNLS.cs
- EncryptedPackageFilter.cs
- ShaderRenderModeValidation.cs
- NamespaceMapping.cs
- EntityDataSourceColumn.cs
- SymbolPair.cs
- UnauthorizedAccessException.cs
- SendMailErrorEventArgs.cs
- HwndTarget.cs
- ListSortDescriptionCollection.cs
- IRCollection.cs
- SolidBrush.cs
- MetabaseReader.cs
- COM2Properties.cs
- CurrencyManager.cs
- SoapDocumentMethodAttribute.cs
- ViewService.cs
- ChannelSinkStacks.cs
- Pair.cs
- UnaryQueryOperator.cs
- PrintingPermissionAttribute.cs
- odbcmetadatacolumnnames.cs
- PointUtil.cs
- XslTransform.cs
- ExceptionUtil.cs
- RandomNumberGenerator.cs
- ChannelTraceRecord.cs
- FamilyCollection.cs
- ClientConfigurationSystem.cs
- PropertyEmitterBase.cs
- DrawListViewColumnHeaderEventArgs.cs
- OracleException.cs
- FamilyTypeface.cs
- SafeRightsManagementHandle.cs
- HtmlInputPassword.cs
- CodeTypeMember.cs
- MergeLocalizationDirectives.cs
- Rule.cs
- IISUnsafeMethods.cs
- CommandHelpers.cs
- XmlWriterSettings.cs
- Point.cs
- ViewCellRelation.cs
- SessionPageStateSection.cs
- _BaseOverlappedAsyncResult.cs
- QualifierSet.cs
- RadioButton.cs
- XmlnsDictionary.cs
- SamlSubject.cs
- UserNameSecurityTokenProvider.cs
- WindowsScrollBarBits.cs
- PublishLicense.cs
- InvokeHandlers.cs
- AnonymousIdentificationModule.cs
- DataRelationPropertyDescriptor.cs
- BindingCompleteEventArgs.cs
- ToolStripDropTargetManager.cs
- CodeCatchClauseCollection.cs
- CaseStatementSlot.cs
- CodeArgumentReferenceExpression.cs
- InternalConfigHost.cs
- TextModifierScope.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- CompilerResults.cs
- shaperfactory.cs
- KeySpline.cs
- RsaSecurityTokenAuthenticator.cs
- DispatcherEventArgs.cs
- ToolStripCustomTypeDescriptor.cs
- IxmlLineInfo.cs
- LicFileLicenseProvider.cs
- DataServiceRequest.cs
- RewritingProcessor.cs
- XslAstAnalyzer.cs
- PolyQuadraticBezierSegment.cs
- CodeTypeMemberCollection.cs
- PageAsyncTaskManager.cs