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
- SatelliteContractVersionAttribute.cs
- QilBinary.cs
- ConfigurationPropertyAttribute.cs
- XPathPatternBuilder.cs
- LocatorBase.cs
- SoapReflector.cs
- unitconverter.cs
- PagesSection.cs
- DataTableTypeConverter.cs
- MetadataUtil.cs
- TrackingServices.cs
- HttpRequestCacheValidator.cs
- XmlEntityReference.cs
- XmlAttributes.cs
- PropertyDescriptorCollection.cs
- OleDbParameter.cs
- SmtpFailedRecipientException.cs
- NavigationProperty.cs
- ServiceOperationWrapper.cs
- SiteMapNode.cs
- BoolExpression.cs
- ProgressChangedEventArgs.cs
- ReversePositionQuery.cs
- XamlClipboardData.cs
- CommandPlan.cs
- EncryptedData.cs
- StateWorkerRequest.cs
- ScrollPattern.cs
- Animatable.cs
- HtmlTextArea.cs
- XamlStyleSerializer.cs
- Rfc4050KeyFormatter.cs
- TableLayoutPanelCellPosition.cs
- BindToObject.cs
- WinFormsComponentEditor.cs
- QueryOpcode.cs
- CodeSnippetStatement.cs
- CodeDomConfigurationHandler.cs
- SymLanguageVendor.cs
- SqlAggregateChecker.cs
- Rule.cs
- RayMeshGeometry3DHitTestResult.cs
- WorkflowInlining.cs
- RSAPKCS1SignatureDeformatter.cs
- BaseInfoTable.cs
- BackEase.cs
- DataGridViewRow.cs
- EventLogTraceListener.cs
- XPathAncestorIterator.cs
- sqlpipe.cs
- FlowDocumentView.cs
- Vector3DCollectionValueSerializer.cs
- TypeResolvingOptions.cs
- SrgsRulesCollection.cs
- Select.cs
- MobileTemplatedControlDesigner.cs
- OleDbSchemaGuid.cs
- SmiMetaData.cs
- TypeGeneratedEventArgs.cs
- DropDownButton.cs
- Hex.cs
- Label.cs
- Persist.cs
- RegexBoyerMoore.cs
- oledbconnectionstring.cs
- SchemaEntity.cs
- ProcessHostMapPath.cs
- Attributes.cs
- IndexedGlyphRun.cs
- NavigationProgressEventArgs.cs
- TripleDESCryptoServiceProvider.cs
- DelegateSerializationHolder.cs
- PerspectiveCamera.cs
- XamlHostingSectionGroup.cs
- Token.cs
- HtmlInputRadioButton.cs
- FreezableCollection.cs
- SamlSecurityTokenAuthenticator.cs
- Serializer.cs
- InvokeProviderWrapper.cs
- PropertyGeneratedEventArgs.cs
- XmlDomTextWriter.cs
- CalculatedColumn.cs
- DataRelation.cs
- CompiledXpathExpr.cs
- SqlProfileProvider.cs
- BaseProcessProtocolHandler.cs
- PathFigureCollection.cs
- UdpChannelListener.cs
- MaskInputRejectedEventArgs.cs
- SchemaImporterExtension.cs
- Parameter.cs
- TranslateTransform.cs
- ParameterCollection.cs
- TreeViewTemplateSelector.cs
- Timer.cs
- FieldMetadata.cs
- Operators.cs
- TextOnlyOutput.cs
- HtmlInputImage.cs