Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / ALinq / OrderByQueryOptionExpression.cs / 1 / 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.Linq.Expressions; using System.Collections.Generic; using System; ////// 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. //---------------------------------------------------------------------- //// 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.Linq.Expressions; using System.Collections.Generic; using System; ////// 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolboxSnapDragDropEventArgs.cs
- PageAdapter.cs
- KeyNotFoundException.cs
- Mappings.cs
- EntityClientCacheEntry.cs
- ProvideValueServiceProvider.cs
- FactoryGenerator.cs
- StoreItemCollection.Loader.cs
- Root.cs
- ListControlConvertEventArgs.cs
- LambdaCompiler.cs
- UserNamePasswordValidationMode.cs
- TransferRequestHandler.cs
- XmlResolver.cs
- Thread.cs
- ClosableStream.cs
- MaterialGroup.cs
- EntityConnectionStringBuilder.cs
- FtpCachePolicyElement.cs
- PageBuildProvider.cs
- MsmqReceiveParameters.cs
- OptionalColumn.cs
- ItemCheckEvent.cs
- nulltextnavigator.cs
- MetadataArtifactLoaderComposite.cs
- RegisteredScript.cs
- StickyNoteContentControl.cs
- ProxyGenerationError.cs
- PathSegment.cs
- SqlDesignerDataSourceView.cs
- DefaultValueConverter.cs
- ReadContentAsBinaryHelper.cs
- MouseWheelEventArgs.cs
- EntityDataSourceDataSelection.cs
- FolderNameEditor.cs
- WebHttpBindingElement.cs
- XPathAxisIterator.cs
- Delegate.cs
- InkCanvas.cs
- GridViewUpdateEventArgs.cs
- X509ChainElement.cs
- XmlFormatExtensionPrefixAttribute.cs
- RectangleConverter.cs
- SimpleMailWebEventProvider.cs
- InvalidCastException.cs
- FileSystemEventArgs.cs
- InkCollectionBehavior.cs
- StringToken.cs
- DrawingState.cs
- CheckedListBox.cs
- BrowserCapabilitiesFactoryBase.cs
- OutputCacheProfileCollection.cs
- ReceiveActivityDesignerTheme.cs
- Configuration.cs
- XPathAxisIterator.cs
- DynamicQueryStringParameter.cs
- TextTreeUndoUnit.cs
- WindowsStartMenu.cs
- WebBrowserContainer.cs
- ImageConverter.cs
- ResponseBodyWriter.cs
- _SslSessionsCache.cs
- ProgressBarRenderer.cs
- CodeVariableDeclarationStatement.cs
- AsymmetricAlgorithm.cs
- Cursors.cs
- RtfToXamlReader.cs
- CustomAssemblyResolver.cs
- MetadataConversionError.cs
- CodePageEncoding.cs
- MasterPage.cs
- InputLanguage.cs
- CqlWriter.cs
- DataGridViewCellCancelEventArgs.cs
- PartialClassGenerationTask.cs
- TextProviderWrapper.cs
- TimeSpanValidator.cs
- XmlRawWriter.cs
- UrlAuthFailedErrorFormatter.cs
- XhtmlCssHandler.cs
- MouseWheelEventArgs.cs
- FontNamesConverter.cs
- InputReportEventArgs.cs
- DataGridClipboardCellContent.cs
- RichTextBox.cs
- RMEnrollmentPage1.cs
- UncommonField.cs
- ExceptionUtil.cs
- IdentifierElement.cs
- DataRowComparer.cs
- MetadataItem.cs
- DiagnosticsConfigurationHandler.cs
- CacheDict.cs
- XmlImplementation.cs
- base64Transforms.cs
- WebHttpSecurityElement.cs
- __FastResourceComparer.cs
- WebPartRestoreVerb.cs
- BCLDebug.cs
- SessionParameter.cs