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
- ElementUtil.cs
- SqlComparer.cs
- DecoderFallback.cs
- DirectoryObjectSecurity.cs
- SerTrace.cs
- NotImplementedException.cs
- ForceCopyBuildProvider.cs
- ButtonColumn.cs
- FontFaceLayoutInfo.cs
- Int32KeyFrameCollection.cs
- ValidationVisibilityAttribute.cs
- DataGridViewAdvancedBorderStyle.cs
- SqlUserDefinedAggregateAttribute.cs
- SoapUnknownHeader.cs
- ProviderConnectionPointCollection.cs
- ReadOnlyHierarchicalDataSourceView.cs
- InertiaExpansionBehavior.cs
- UIElementPropertyUndoUnit.cs
- SqlVersion.cs
- DesignerDataTable.cs
- FormsAuthenticationTicket.cs
- PropertyCollection.cs
- BitmapEffect.cs
- Baml2006KnownTypes.cs
- OpenTypeLayoutCache.cs
- RequestNavigateEventArgs.cs
- ReachSerializationCacheItems.cs
- Exception.cs
- PeerInvitationResponse.cs
- wgx_render.cs
- WebResponse.cs
- Image.cs
- FileDialog.cs
- WebServiceHostFactory.cs
- XmlSchemaNotation.cs
- WebPartConnectionsDisconnectVerb.cs
- DataGridTableCollection.cs
- PerformanceCountersBase.cs
- IsolatedStorageException.cs
- SnapshotChangeTrackingStrategy.cs
- ChangeBlockUndoRecord.cs
- ValidationHelper.cs
- OrderByQueryOptionExpression.cs
- RelationshipManager.cs
- VectorConverter.cs
- XmlReader.cs
- AssociatedControlConverter.cs
- FilteredDataSetHelper.cs
- TableRow.cs
- ExceptionRoutedEventArgs.cs
- SqlParameterCollection.cs
- DataGridViewImageColumn.cs
- WebPartCatalogAddVerb.cs
- TdsRecordBufferSetter.cs
- EdmProperty.cs
- EncodingTable.cs
- Statements.cs
- SrgsDocumentParser.cs
- ButtonChrome.cs
- DatagramAdapter.cs
- BindingExpression.cs
- BitmapFrameDecode.cs
- HierarchicalDataBoundControl.cs
- UIPropertyMetadata.cs
- TileBrush.cs
- RepeatBehavior.cs
- TabControl.cs
- DbMetaDataColumnNames.cs
- ValidationHelper.cs
- ButtonChrome.cs
- SystemResourceKey.cs
- NamespaceInfo.cs
- DateTimeOffset.cs
- DbRetry.cs
- Binding.cs
- TextBounds.cs
- DesignTimeVisibleAttribute.cs
- DataGridHeaderBorder.cs
- GroupItem.cs
- XmlEntity.cs
- Oid.cs
- WebPartDisplayMode.cs
- SiteMapSection.cs
- StorageComplexTypeMapping.cs
- FontNameEditor.cs
- MULTI_QI.cs
- FileSecurity.cs
- XmlSchemaAttributeGroupRef.cs
- DropShadowBitmapEffect.cs
- ContextMenuStripActionList.cs
- HostProtectionPermission.cs
- CompModSwitches.cs
- WebPartCancelEventArgs.cs
- XmlDictionary.cs
- SqlUserDefinedTypeAttribute.cs
- MsmqUri.cs
- WorkItem.cs
- WorkflowViewManager.cs
- DataGridViewImageColumn.cs
- ControlBuilderAttribute.cs