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
- Completion.cs
- _NestedMultipleAsyncResult.cs
- Common.cs
- ValidatorCompatibilityHelper.cs
- HttpResponseInternalBase.cs
- BaseAppDomainProtocolHandler.cs
- EventSourceCreationData.cs
- CategoryList.cs
- StartUpEventArgs.cs
- ComponentEditorForm.cs
- ListItemConverter.cs
- CollaborationHelperFunctions.cs
- Hex.cs
- LoadWorkflowCommand.cs
- WindowsIPAddress.cs
- Rules.cs
- CaseExpr.cs
- OleDbError.cs
- RotateTransform3D.cs
- PropertyInfoSet.cs
- _ConnectionGroup.cs
- DoubleCollectionValueSerializer.cs
- ApplicationFileParser.cs
- ConfigurationErrorsException.cs
- ReachSerializationUtils.cs
- InvokePatternIdentifiers.cs
- DebuggerAttributes.cs
- InvalidPropValue.cs
- ActivityMetadata.cs
- EtwTrace.cs
- BeginCreateSecurityTokenRequest.cs
- DrawingAttributesDefaultValueFactory.cs
- SelectedDatesCollection.cs
- DetailsView.cs
- SpanIndex.cs
- EventLogConfiguration.cs
- MenuItemStyleCollection.cs
- NoResizeSelectionBorderGlyph.cs
- DataSourceCache.cs
- ModelVisual3D.cs
- DiscardableAttribute.cs
- TextSelectionHighlightLayer.cs
- DataSetMappper.cs
- OleDbPermission.cs
- SemaphoreSlim.cs
- SQLGuidStorage.cs
- MappingItemCollection.cs
- WebPartConnectionsCancelVerb.cs
- XmlSchemaAppInfo.cs
- ConnectionPoint.cs
- DataGridParentRows.cs
- SQLConvert.cs
- datacache.cs
- ErrorRuntimeConfig.cs
- DbSetClause.cs
- TextContainerChangeEventArgs.cs
- DataGridViewAdvancedBorderStyle.cs
- GAC.cs
- FixedSOMTableCell.cs
- ActivityXamlServices.cs
- StrokeIntersection.cs
- _UncName.cs
- HostedHttpTransportManager.cs
- FlowDocumentPageViewerAutomationPeer.cs
- Deflater.cs
- AbstractSvcMapFileLoader.cs
- DataControlButton.cs
- CompilerTypeWithParams.cs
- ListDataBindEventArgs.cs
- MeshGeometry3D.cs
- DelayDesigner.cs
- CellParagraph.cs
- NameObjectCollectionBase.cs
- Profiler.cs
- ReadOnlyObservableCollection.cs
- IntranetCredentialPolicy.cs
- StorageComplexTypeMapping.cs
- SQLSingle.cs
- AutomationElement.cs
- CompositeActivityTypeDescriptor.cs
- HwndMouseInputProvider.cs
- ResourceSet.cs
- RectangleConverter.cs
- ProxyWebPartConnectionCollection.cs
- PanelDesigner.cs
- BindValidationContext.cs
- LambdaExpression.cs
- DataControlImageButton.cs
- HtmlInputText.cs
- DataGridViewElement.cs
- DispatcherHookEventArgs.cs
- HostedNamedPipeTransportManager.cs
- PropertyReferenceSerializer.cs
- TreeNodeCollection.cs
- XmlSchemaCompilationSettings.cs
- OneToOneMappingSerializer.cs
- BamlTreeMap.cs
- InheritedPropertyDescriptor.cs
- PointKeyFrameCollection.cs
- FacetChecker.cs