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
- StyleXamlTreeBuilder.cs
- XmlQuerySequence.cs
- Camera.cs
- PopOutPanel.cs
- MarkupExtensionParser.cs
- XmlSortKey.cs
- BuildResultCache.cs
- cookiecollection.cs
- TextElementEditingBehaviorAttribute.cs
- HttpFileCollection.cs
- WorkflowDurableInstance.cs
- RequestFactory.cs
- WebPartConnection.cs
- DataBindingHandlerAttribute.cs
- TypeFieldSchema.cs
- BridgeDataReader.cs
- SQLUtility.cs
- TailPinnedEventArgs.cs
- DeviceSpecificChoice.cs
- ZoneButton.cs
- SimpleHandlerBuildProvider.cs
- RequestQueue.cs
- SQLStringStorage.cs
- DragDrop.cs
- EntryWrittenEventArgs.cs
- AdditionalEntityFunctions.cs
- ScriptingScriptResourceHandlerSection.cs
- TextFindEngine.cs
- SqlTransaction.cs
- SafeHandle.cs
- SerializationInfoEnumerator.cs
- MsmqBindingElementBase.cs
- CfgSemanticTag.cs
- DataStorage.cs
- Model3D.cs
- CodeStatementCollection.cs
- ToolStripManager.cs
- CallbackHandler.cs
- RewritingValidator.cs
- WhitespaceRule.cs
- DES.cs
- WebUtil.cs
- CategoryAttribute.cs
- ResourceWriter.cs
- TypedTableBase.cs
- DispatcherExceptionFilterEventArgs.cs
- NativeWrapper.cs
- SelfIssuedTokenFactoryCredential.cs
- SignedPkcs7.cs
- ClientTarget.cs
- AuthorizationRuleCollection.cs
- smtpconnection.cs
- Label.cs
- MemoryMappedView.cs
- XmlReflectionMember.cs
- ContextMenu.cs
- CodeConstructor.cs
- TypedElement.cs
- RecognitionResult.cs
- StorageMappingItemCollection.cs
- SafeFileHandle.cs
- NotifyIcon.cs
- HtmlInputButton.cs
- HttpCookieCollection.cs
- FixedSOMLineRanges.cs
- UIElementCollection.cs
- LeftCellWrapper.cs
- Label.cs
- XmlNavigatorFilter.cs
- WebPartCancelEventArgs.cs
- LayoutTable.cs
- BufferedGraphics.cs
- SQLResource.cs
- SpeechSeg.cs
- designeractionlistschangedeventargs.cs
- EntityKeyElement.cs
- COM2ExtendedUITypeEditor.cs
- DnsElement.cs
- PageClientProxyGenerator.cs
- ErrorEventArgs.cs
- UseManagedPresentationBindingElement.cs
- DateTimeSerializationSection.cs
- TextAction.cs
- CellIdBoolean.cs
- ChannelDispatcherBase.cs
- JsonWriter.cs
- EventItfInfo.cs
- MaskedTextBoxTextEditor.cs
- UICuesEvent.cs
- AssemblyName.cs
- BitmapEffectGroup.cs
- OdbcConnectionHandle.cs
- FieldNameLookup.cs
- GeometryGroup.cs
- ColorTranslator.cs
- TTSEvent.cs
- ScrollBar.cs
- DataGridViewColumnCollectionEditor.cs
- ContactManager.cs
- Rfc2898DeriveBytes.cs