Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ElementAction.cs
- WebUtil.cs
- AuthenticodeSignatureInformation.cs
- FrameworkContentElement.cs
- Brush.cs
- DataGridViewTopLeftHeaderCell.cs
- versioninfo.cs
- ReturnEventArgs.cs
- RectAnimation.cs
- XmlSerializerFactory.cs
- Library.cs
- UDPClient.cs
- DtdParser.cs
- XmlConvert.cs
- DataStreams.cs
- ParseChildrenAsPropertiesAttribute.cs
- BasePropertyDescriptor.cs
- AssociationSet.cs
- QuaternionAnimationBase.cs
- ByteAnimationUsingKeyFrames.cs
- XmlReader.cs
- BitmapMetadataBlob.cs
- MetadataArtifactLoaderCompositeResource.cs
- TextServicesHost.cs
- UriParserTemplates.cs
- TextServicesHost.cs
- WebRequestModuleElement.cs
- UnlockCardRequest.cs
- DataGridColumnsPage.cs
- ToolStripStatusLabel.cs
- EntityDataSourceMemberPath.cs
- CultureSpecificStringDictionary.cs
- CodeExporter.cs
- Matrix.cs
- DataControlButton.cs
- MouseActionValueSerializer.cs
- ComboBoxItem.cs
- WithParamAction.cs
- ResourcePermissionBase.cs
- ScrollEventArgs.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- Parallel.cs
- TrustLevel.cs
- DetailsView.cs
- SiteMapProvider.cs
- MDIClient.cs
- TargetConverter.cs
- SessionPageStatePersister.cs
- TypeBinaryExpression.cs
- CommandManager.cs
- ListComponentEditor.cs
- ConfigXmlComment.cs
- XmlDataSourceNodeDescriptor.cs
- TabRenderer.cs
- ComPlusThreadInitializer.cs
- WmpBitmapDecoder.cs
- GetCertificateRequest.cs
- SafeThreadHandle.cs
- DefaultPrintController.cs
- InfoCardTrace.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- MinimizableAttributeTypeConverter.cs
- PropertyRef.cs
- TimeSpanStorage.cs
- InertiaExpansionBehavior.cs
- BamlRecords.cs
- ParamArrayAttribute.cs
- SelectionManager.cs
- SimpleMailWebEventProvider.cs
- QilName.cs
- DecoderFallbackWithFailureFlag.cs
- FileDataSourceCache.cs
- RMEnrollmentPage3.cs
- TextView.cs
- RadioButtonFlatAdapter.cs
- VirtualizingStackPanel.cs
- StringValueSerializer.cs
- panel.cs
- WebConfigurationFileMap.cs
- TagPrefixAttribute.cs
- GlobalEventManager.cs
- Range.cs
- BulletChrome.cs
- SoapFormatterSinks.cs
- RowToFieldTransformer.cs
- SharedPersonalizationStateInfo.cs
- TypeSource.cs
- XmlLinkedNode.cs
- TagPrefixCollection.cs
- StateWorkerRequest.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- SqlDataSourceRefreshSchemaForm.cs
- SpotLight.cs
- SoapAttributeOverrides.cs
- NativeObjectSecurity.cs
- AvtEvent.cs
- ApplyImportsAction.cs
- Contracts.cs
- DefaultAsyncDataDispatcher.cs
- GlobalEventManager.cs