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
- ObjectParameter.cs
- Number.cs
- QilStrConcatenator.cs
- InvokeProviderWrapper.cs
- DiscoveryMessageProperty.cs
- XmlSchemaGroup.cs
- CommandEventArgs.cs
- sitestring.cs
- LambdaCompiler.cs
- DataServiceRequest.cs
- ListViewItem.cs
- TextFormatterImp.cs
- IConvertible.cs
- NamespaceList.cs
- DynamicControl.cs
- LazyTextWriterCreator.cs
- GridViewRowCollection.cs
- BodyGlyph.cs
- mediaeventargs.cs
- ProtocolsConfigurationEntry.cs
- PriorityBinding.cs
- IssuedSecurityTokenParameters.cs
- ExtractedStateEntry.cs
- HorizontalAlignConverter.cs
- QilExpression.cs
- ConfigurationStrings.cs
- ThrowHelper.cs
- NullReferenceException.cs
- RequiredFieldValidator.cs
- SqlProviderManifest.cs
- EntityUtil.cs
- Int32Rect.cs
- PermissionAttributes.cs
- MULTI_QI.cs
- WsrmFault.cs
- XmlDomTextWriter.cs
- PerformanceCounter.cs
- FormsAuthenticationUser.cs
- Processor.cs
- WhitespaceSignificantCollectionAttribute.cs
- TimeoutValidationAttribute.cs
- VisualStates.cs
- Literal.cs
- Label.cs
- MD5CryptoServiceProvider.cs
- _ListenerResponseStream.cs
- AuthenticationConfig.cs
- MemoryFailPoint.cs
- cache.cs
- ReflectionTypeLoadException.cs
- DirectionalLight.cs
- DelegatingConfigHost.cs
- AutomationPropertyInfo.cs
- ToolStripItemImageRenderEventArgs.cs
- SimpleBitVector32.cs
- BamlStream.cs
- StoreItemCollection.cs
- InnerItemCollectionView.cs
- RowCache.cs
- FormatSelectingMessageInspector.cs
- InputLanguage.cs
- StateMachineSubscriptionManager.cs
- BasicExpandProvider.cs
- rsa.cs
- DataContractSerializerSection.cs
- PeerNode.cs
- ConstNode.cs
- WebBrowser.cs
- GenericUriParser.cs
- ManagedCodeMarkers.cs
- ControlTemplate.cs
- FixedElement.cs
- ReferenceService.cs
- XmlUtil.cs
- MenuAdapter.cs
- XmlSchemaComplexContent.cs
- MemberExpressionHelper.cs
- SendingRequestEventArgs.cs
- TimeSpanConverter.cs
- EventToken.cs
- WindowsAuthenticationModule.cs
- WebExceptionStatus.cs
- DBConnectionString.cs
- DateTimeStorage.cs
- SessionStateModule.cs
- TextTreeInsertUndoUnit.cs
- OdbcEnvironmentHandle.cs
- ProcessStartInfo.cs
- EventHandlersStore.cs
- VideoDrawing.cs
- FolderBrowserDialog.cs
- WmfPlaceableFileHeader.cs
- QueryGenerator.cs
- EllipseGeometry.cs
- __ComObject.cs
- ComplexObject.cs
- TextSelectionHighlightLayer.cs
- ActiveDocumentEvent.cs
- AssemblyLoader.cs
- AppSettingsExpressionBuilder.cs