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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ComboBox.cs
- AnnotationAuthorChangedEventArgs.cs
- EventLogEntryCollection.cs
- ToolStripSplitButton.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- ConstructorNeedsTagAttribute.cs
- RequestUriProcessor.cs
- FrameworkElementFactory.cs
- RootProfilePropertySettingsCollection.cs
- ValidationVisibilityAttribute.cs
- Freezable.cs
- CollectionBase.cs
- MultiView.cs
- NamedPipeTransportBindingElement.cs
- ISAPIRuntime.cs
- XpsFixedPageReaderWriter.cs
- HttpResponseWrapper.cs
- ColumnResizeAdorner.cs
- ObjectDisposedException.cs
- WinInet.cs
- NumberSubstitution.cs
- DrawingCollection.cs
- OdbcConnectionString.cs
- ModifierKeysValueSerializer.cs
- cookiecontainer.cs
- DateTimeValueSerializerContext.cs
- X509SecurityTokenProvider.cs
- DesignerActionHeaderItem.cs
- DbDataSourceEnumerator.cs
- unsafenativemethodstextservices.cs
- DatePickerAutomationPeer.cs
- DockEditor.cs
- StorageAssociationTypeMapping.cs
- ChangesetResponse.cs
- ParameterToken.cs
- PrintPageEvent.cs
- UnmanagedBitmapWrapper.cs
- FactoryGenerator.cs
- UIInitializationException.cs
- MsdtcClusterUtils.cs
- ExtentCqlBlock.cs
- DescendantOverDescendantQuery.cs
- HtmlDocument.cs
- FontWeight.cs
- EpmTargetTree.cs
- HostVisual.cs
- PropertyPushdownHelper.cs
- SecurityPermission.cs
- PersonalizationDictionary.cs
- WindowClosedEventArgs.cs
- XmlCDATASection.cs
- ServiceRouteHandler.cs
- panel.cs
- WebServiceMethodData.cs
- QilSortKey.cs
- ToolStripItemCollection.cs
- UniqueConstraint.cs
- EncoderParameter.cs
- Buffer.cs
- NavigationWindowAutomationPeer.cs
- TagMapInfo.cs
- ThreadSafeList.cs
- DataGridViewTextBoxCell.cs
- TakeQueryOptionExpression.cs
- securitycriticaldata.cs
- HtmlInputFile.cs
- RequiredFieldValidator.cs
- LocalizationComments.cs
- AggregateNode.cs
- AuthenticatingEventArgs.cs
- CopyNamespacesAction.cs
- KnownIds.cs
- AnnotationResource.cs
- DeferredReference.cs
- TrackBarRenderer.cs
- SortedList.cs
- StreamingContext.cs
- IsolatedStorageFile.cs
- _CommandStream.cs
- CompressionTracing.cs
- ResourceSetExpression.cs
- RC2CryptoServiceProvider.cs
- PolyQuadraticBezierSegment.cs
- FontCacheLogic.cs
- TraceUtils.cs
- ProxyGenerator.cs
- WebPartCatalogAddVerb.cs
- DurableOperationAttribute.cs
- FrameworkReadOnlyPropertyMetadata.cs
- MenuItemBindingCollection.cs
- CachedBitmap.cs
- SpotLight.cs
- XPathPatternBuilder.cs
- HtmlLink.cs
- BamlResourceContent.cs
- FixedHyperLink.cs
- XmlDataSourceNodeDescriptor.cs
- OracleTransaction.cs
- VirtualizedContainerService.cs
- BitmapSourceSafeMILHandle.cs