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
- PriorityBinding.cs
- TextSchema.cs
- BufferedGraphicsManager.cs
- RouteValueExpressionBuilder.cs
- RegistryPermission.cs
- InvalidProgramException.cs
- AuthenticationConfig.cs
- HtmlFormParameterReader.cs
- SqlParameterCollection.cs
- ContainerFilterService.cs
- LayoutEditorPart.cs
- GC.cs
- SoapCodeExporter.cs
- IOException.cs
- XmlWriter.cs
- EraserBehavior.cs
- XamlGridLengthSerializer.cs
- CapabilitiesUse.cs
- DocumentsTrace.cs
- _AcceptOverlappedAsyncResult.cs
- VScrollBar.cs
- LinkTarget.cs
- DataListItem.cs
- DbXmlEnabledProviderManifest.cs
- CategoryValueConverter.cs
- VerticalAlignConverter.cs
- QueryContext.cs
- XpsThumbnail.cs
- _NativeSSPI.cs
- OleDbDataAdapter.cs
- DynamicDiscoSearcher.cs
- XmlName.cs
- SortDescriptionCollection.cs
- ScriptControl.cs
- ContentOperations.cs
- XpsResourceDictionary.cs
- DocumentViewerBaseAutomationPeer.cs
- DesignerCommandAdapter.cs
- CopyNamespacesAction.cs
- SystemDiagnosticsSection.cs
- OperationContractAttribute.cs
- SplitterCancelEvent.cs
- StrongNameKeyPair.cs
- PassportAuthenticationModule.cs
- safelinkcollection.cs
- SafeMILHandle.cs
- CodeCommentStatementCollection.cs
- ZipFileInfoCollection.cs
- SoapEnumAttribute.cs
- SqlUnionizer.cs
- CodeLabeledStatement.cs
- WebPartConnectionsConnectVerb.cs
- AppDomainProtocolHandler.cs
- BindingCompleteEventArgs.cs
- XmlSignatureProperties.cs
- ConfigXmlDocument.cs
- ReadOnlyDataSource.cs
- ForEachAction.cs
- RegexGroup.cs
- Pointer.cs
- ContextMenuStripGroup.cs
- SoapSchemaImporter.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- MethodExpression.cs
- AutomationProperties.cs
- ExpressionBinding.cs
- FileChangesMonitor.cs
- X509Extension.cs
- UserUseLicenseDictionaryLoader.cs
- SystemInformation.cs
- MetafileHeaderWmf.cs
- DataSetUtil.cs
- SqlDataReaderSmi.cs
- Scheduling.cs
- SEHException.cs
- HttpServerVarsCollection.cs
- CommonRemoteMemoryBlock.cs
- SqlCaseSimplifier.cs
- PeerCollaboration.cs
- IHttpResponseInternal.cs
- SoapObjectReader.cs
- SubMenuStyle.cs
- ScriptingJsonSerializationSection.cs
- XmlDictionaryReaderQuotas.cs
- PropertyEntry.cs
- BamlLocalizableResource.cs
- IDReferencePropertyAttribute.cs
- _NestedSingleAsyncResult.cs
- XmlLinkedNode.cs
- ClusterSafeNativeMethods.cs
- WebPartDisplayModeCancelEventArgs.cs
- KnownBoxes.cs
- WaitHandleCannotBeOpenedException.cs
- XpsDigitalSignature.cs
- BuildProviderCollection.cs
- RbTree.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ToolBarOverflowPanel.cs
- VerbConverter.cs
- PrePrepareMethodAttribute.cs