Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- SlipBehavior.cs
- StorageEntityTypeMapping.cs
- HyperLinkStyle.cs
- SQLGuid.cs
- BindingMemberInfo.cs
- MembershipValidatePasswordEventArgs.cs
- ColorAnimationUsingKeyFrames.cs
- MediaSystem.cs
- TextChange.cs
- DocumentSchemaValidator.cs
- HtmlForm.cs
- VBCodeProvider.cs
- FastPropertyAccessor.cs
- ConfigurationManagerHelper.cs
- XmlQualifiedNameTest.cs
- SecureEnvironment.cs
- DesignOnlyAttribute.cs
- MetadataCache.cs
- IncrementalReadDecoders.cs
- FontSource.cs
- ICollection.cs
- StorageAssociationSetMapping.cs
- InstanceNameConverter.cs
- LayoutUtils.cs
- PropertyIDSet.cs
- Int32Collection.cs
- HttpModuleAction.cs
- SmiMetaData.cs
- SQLRoleProvider.cs
- SqlNodeTypeOperators.cs
- SizeAnimationClockResource.cs
- EditorPart.cs
- NameSpaceEvent.cs
- PeerInputChannel.cs
- MatrixAnimationUsingPath.cs
- PropertyEmitterBase.cs
- ImageUrlEditor.cs
- PersonalizableTypeEntry.cs
- IdentityReference.cs
- RealProxy.cs
- XmlMtomWriter.cs
- SHA384Cng.cs
- TextTrailingCharacterEllipsis.cs
- TableRow.cs
- CollectionBase.cs
- TransformationRules.cs
- ObjectViewQueryResultData.cs
- ButtonChrome.cs
- Win32PrintDialog.cs
- XmlElementCollection.cs
- EdmType.cs
- DbConnectionInternal.cs
- Registry.cs
- MailMessageEventArgs.cs
- ClientTargetSection.cs
- PathSegment.cs
- Scene3D.cs
- DataGridHelper.cs
- LayoutExceptionEventArgs.cs
- BackgroundWorker.cs
- DataViewSettingCollection.cs
- DataControlImageButton.cs
- ProgressChangedEventArgs.cs
- EntryPointNotFoundException.cs
- SqlInternalConnection.cs
- DetailsViewPageEventArgs.cs
- OleDbErrorCollection.cs
- ResourceProviderFactory.cs
- ClientTargetCollection.cs
- WindowsImpersonationContext.cs
- ProfileSettings.cs
- ResourceLoader.cs
- UnmanagedMemoryStreamWrapper.cs
- Triplet.cs
- EditorZone.cs
- HtmlDocument.cs
- ListViewDeletedEventArgs.cs
- COM2IDispatchConverter.cs
- SystemParameters.cs
- DataGridViewImageCell.cs
- ListInitExpression.cs
- BitmapImage.cs
- PaintEvent.cs
- FtpWebResponse.cs
- OpenTypeCommon.cs
- CodeTypeReference.cs
- listitem.cs
- ClockGroup.cs
- BinarySecretSecurityToken.cs
- Part.cs
- LicenseContext.cs
- BindingMemberInfo.cs
- StrongTypingException.cs
- Timeline.cs
- StylusButtonEventArgs.cs
- PrintDialogException.cs
- SchemaElementLookUpTable.cs
- InvalidateEvent.cs
- BitmapEffectDrawing.cs
- LayoutEvent.cs