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
- DBSchemaTable.cs
- ColorAnimationBase.cs
- LineSegment.cs
- MatrixValueSerializer.cs
- DropShadowEffect.cs
- Formatter.cs
- ScrollData.cs
- GeometryDrawing.cs
- XmlSchemaSequence.cs
- LazyTextWriterCreator.cs
- Journaling.cs
- StrokeCollectionDefaultValueFactory.cs
- HttpMethodAttribute.cs
- XmlSchemaParticle.cs
- XmlCharCheckingReader.cs
- PageVisual.cs
- DataGridRow.cs
- Table.cs
- ApplyTemplatesAction.cs
- WorkflowWebService.cs
- Int32CollectionValueSerializer.cs
- ValidateNames.cs
- RadioButton.cs
- StateManager.cs
- HttpRuntimeSection.cs
- EndOfStreamException.cs
- ObjectSecurity.cs
- DynamicVirtualDiscoSearcher.cs
- MetabaseServerConfig.cs
- InternalConfigSettingsFactory.cs
- KeyInterop.cs
- DispatcherOperation.cs
- DataSpaceManager.cs
- UniformGrid.cs
- RawUIStateInputReport.cs
- DocumentReferenceCollection.cs
- ToolStripLocationCancelEventArgs.cs
- SqlDataSourceView.cs
- PointAnimationClockResource.cs
- CellTreeNodeVisitors.cs
- ValueTypeFixupInfo.cs
- ProfileGroupSettings.cs
- XpsPackagingPolicy.cs
- SecurityResources.cs
- SchemaName.cs
- SimpleTypeResolver.cs
- RadioButtonRenderer.cs
- XmlBinaryReader.cs
- UserMapPath.cs
- ConsumerConnectionPoint.cs
- UnionExpr.cs
- COM2FontConverter.cs
- ParameterReplacerVisitor.cs
- MetadataResolver.cs
- counter.cs
- ChangeProcessor.cs
- BindingCompleteEventArgs.cs
- NamespaceImport.cs
- StrokeNodeOperations2.cs
- CurrentChangedEventManager.cs
- DataGridAutoFormatDialog.cs
- ThreadStaticAttribute.cs
- DbProviderManifest.cs
- FormsIdentity.cs
- SerialPort.cs
- TileModeValidation.cs
- DbConnectionPoolGroup.cs
- DummyDataSource.cs
- WindowsListViewItem.cs
- Tracer.cs
- FamilyMap.cs
- EndpointConfigContainer.cs
- COM2FontConverter.cs
- JpegBitmapEncoder.cs
- ByteRangeDownloader.cs
- BufferModesCollection.cs
- WebBrowser.cs
- DocumentGrid.cs
- ServicePoint.cs
- FixedSOMTableRow.cs
- TableLayoutCellPaintEventArgs.cs
- WebPartDescriptionCollection.cs
- XhtmlBasicTextBoxAdapter.cs
- Image.cs
- MarshalDirectiveException.cs
- GAC.cs
- MetadataItemCollectionFactory.cs
- RuleElement.cs
- WebBrowser.cs
- _LazyAsyncResult.cs
- SQLUtility.cs
- DescendantOverDescendantQuery.cs
- EntitySetRetriever.cs
- ToolStripContainer.cs
- ElapsedEventArgs.cs
- Exceptions.cs
- AssemblyBuilderData.cs
- ResourceManagerWrapper.cs
- HybridObjectCache.cs
- DataTable.cs