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
- WorkflowInlining.cs
- Timeline.cs
- IISUnsafeMethods.cs
- SecureConversationSecurityTokenParameters.cs
- IntPtr.cs
- SectionVisual.cs
- ElementHostAutomationPeer.cs
- AsymmetricCryptoHandle.cs
- JoinSymbol.cs
- ListView.cs
- CriticalFinalizerObject.cs
- QualificationDataAttribute.cs
- KeyboardDevice.cs
- ActivityCodeDomReferenceService.cs
- ImageListStreamer.cs
- SizeF.cs
- SR.cs
- MemoryPressure.cs
- WindowsScrollBar.cs
- XmlWrappingWriter.cs
- Command.cs
- ThreadStateException.cs
- KeyedCollection.cs
- WorkflowMarkupSerializationException.cs
- ClientScriptManager.cs
- ThousandthOfEmRealDoubles.cs
- BitmapImage.cs
- PointF.cs
- WmlObjectListAdapter.cs
- WebEventCodes.cs
- CryptoApi.cs
- RegexWorker.cs
- ThreadPoolTaskScheduler.cs
- ProgressBar.cs
- TextRangeEditTables.cs
- FormViewUpdatedEventArgs.cs
- DesignerActionVerbList.cs
- columnmapkeybuilder.cs
- WsatEtwTraceListener.cs
- SettingsAttributeDictionary.cs
- XmlSchemaSimpleContent.cs
- FileInfo.cs
- TiffBitmapDecoder.cs
- ScrollBar.cs
- ResolveNameEventArgs.cs
- OpCopier.cs
- ObjectDataSourceMethodEditor.cs
- DataTableTypeConverter.cs
- FieldToken.cs
- CounterSample.cs
- TemplateControlParser.cs
- AuthorizationRule.cs
- QilChoice.cs
- TextTreeRootTextBlock.cs
- UrlMappingsSection.cs
- LoadedOrUnloadedOperation.cs
- SqlDataSourceCustomCommandEditor.cs
- OutOfMemoryException.cs
- ProtectedProviderSettings.cs
- UdpAnnouncementEndpoint.cs
- LogLogRecord.cs
- ErrorCodes.cs
- DateTimeFormatInfoScanner.cs
- DataServiceOperationContext.cs
- ClientRoleProvider.cs
- OutputScopeManager.cs
- RijndaelCryptoServiceProvider.cs
- MostlySingletonList.cs
- GrammarBuilderPhrase.cs
- XmlElementList.cs
- ExtendedProperty.cs
- RequestCacheManager.cs
- HtmlForm.cs
- CallContext.cs
- WebBrowsableAttribute.cs
- CheckBoxAutomationPeer.cs
- datacache.cs
- ServiceDefaults.cs
- XmlSchemaAttribute.cs
- RawTextInputReport.cs
- ModuleBuilder.cs
- ComponentCollection.cs
- PriorityQueue.cs
- sitestring.cs
- SubMenuStyle.cs
- CustomExpressionEventArgs.cs
- RuntimeEnvironment.cs
- PaperSource.cs
- DynamicValidator.cs
- AsyncPostBackTrigger.cs
- assertwrapper.cs
- ViewService.cs
- XomlCompilerParameters.cs
- DataGridSortCommandEventArgs.cs
- IPEndPoint.cs
- ObjectViewFactory.cs
- SrgsSemanticInterpretationTag.cs
- ConfigurationPropertyAttribute.cs
- DbConnectionStringCommon.cs
- ListItemCollection.cs