Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
- ResourcePermissionBase.cs
- HGlobalSafeHandle.cs
- SqlCommand.cs
- BitmapEffectGroup.cs
- RSAOAEPKeyExchangeFormatter.cs
- TailCallAnalyzer.cs
- Quaternion.cs
- SqlClientMetaDataCollectionNames.cs
- TextTreeTextElementNode.cs
- UserControl.cs
- ReadOnlyState.cs
- ChangeProcessor.cs
- LassoSelectionBehavior.cs
- CssClassPropertyAttribute.cs
- MD5.cs
- ContentPropertyAttribute.cs
- ElementUtil.cs
- FrameworkTextComposition.cs
- EventProviderWriter.cs
- OperatorExpressions.cs
- FindCriteriaApril2005.cs
- WsdlInspector.cs
- ControlParameter.cs
- SecurityRuntime.cs
- uribuilder.cs
- DataControlLinkButton.cs
- RightsManagementPermission.cs
- VisualTreeUtils.cs
- TcpStreams.cs
- OciEnlistContext.cs
- SerialPinChanges.cs
- SessionStateUtil.cs
- WmlFormAdapter.cs
- EndpointInstanceProvider.cs
- XmlEntity.cs
- UshortList2.cs
- PersonalizationProvider.cs
- NativeActivity.cs
- _SingleItemRequestCache.cs
- _HTTPDateParse.cs
- TimeManager.cs
- DiscreteKeyFrames.cs
- WebPartTransformerAttribute.cs
- EndpointAddressProcessor.cs
- UrlAuthorizationModule.cs
- WebScriptServiceHost.cs
- DesignerContextDescriptor.cs
- ConfigurationLockCollection.cs
- SqlDataSourceFilteringEventArgs.cs
- Point4DValueSerializer.cs
- PersianCalendar.cs
- MouseOverProperty.cs
- EFDataModelProvider.cs
- JsonMessageEncoderFactory.cs
- AmbientValueAttribute.cs
- RuleRef.cs
- AuthenticationManager.cs
- UriGenerator.cs
- WebPartDeleteVerb.cs
- TextPointerBase.cs
- Simplifier.cs
- KeyGestureConverter.cs
- TextCompositionEventArgs.cs
- DataGridAutoFormat.cs
- DataReceivedEventArgs.cs
- FileNameEditor.cs
- RowBinding.cs
- Vector3DAnimationUsingKeyFrames.cs
- SqlDataSourceSelectingEventArgs.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- UnsafeNativeMethodsPenimc.cs
- XPathArrayIterator.cs
- GenerateScriptTypeAttribute.cs
- Comparer.cs
- TrackingMemoryStreamFactory.cs
- MULTI_QI.cs
- PageMediaType.cs
- XmlWrappingReader.cs
- UnSafeCharBuffer.cs
- NetworkInformationPermission.cs
- DataBindingCollection.cs
- EntityModelBuildProvider.cs
- PenThread.cs
- Bitmap.cs
- MessageQueuePermissionAttribute.cs
- SoapMessage.cs
- UnmanagedBitmapWrapper.cs
- ChtmlMobileTextWriter.cs
- FormatterConverter.cs
- SafeFileMappingHandle.cs
- SpecularMaterial.cs
- QilCloneVisitor.cs
- WebPartMinimizeVerb.cs
- FloaterParagraph.cs
- PropertyFilterAttribute.cs
- Simplifier.cs
- TreeNodeBinding.cs
- SqlClientWrapperSmiStreamChars.cs
- DataGridViewCheckBoxCell.cs
- DerivedKeySecurityToken.cs