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
- CompModSwitches.cs
- UserControl.cs
- ContentTextAutomationPeer.cs
- ResourceFallbackManager.cs
- SqlDependencyListener.cs
- RegistryExceptionHelper.cs
- BitHelper.cs
- XXXOnTypeBuilderInstantiation.cs
- MarshalDirectiveException.cs
- SafeFileMappingHandle.cs
- _Win32.cs
- RtfToXamlReader.cs
- TypeLibConverter.cs
- RecognizedAudio.cs
- WorkerRequest.cs
- ColumnMapProcessor.cs
- DoubleIndependentAnimationStorage.cs
- ContentOnlyMessage.cs
- AdRotator.cs
- DataGridTableCollection.cs
- PagesSection.cs
- XhtmlBasicPageAdapter.cs
- DataTableMapping.cs
- FixedSOMFixedBlock.cs
- StringSource.cs
- WebPartConnection.cs
- XmlSerializerObjectSerializer.cs
- CompositeActivityCodeGenerator.cs
- PassportPrincipal.cs
- TableDetailsRow.cs
- XsdBuildProvider.cs
- FaultFormatter.cs
- NavigationPropertySingletonExpression.cs
- CapabilitiesPattern.cs
- HorizontalAlignConverter.cs
- CorrelationTokenTypeConvertor.cs
- CodeEntryPointMethod.cs
- InvalidPropValue.cs
- Grant.cs
- TextProperties.cs
- WebServiceReceive.cs
- ArrangedElement.cs
- Matrix3D.cs
- PriorityQueue.cs
- x509utils.cs
- EndpointNotFoundException.cs
- RequestCacheValidator.cs
- DataColumnChangeEvent.cs
- SafeLibraryHandle.cs
- ApplySecurityAndSendAsyncResult.cs
- ReadOnlyAttribute.cs
- GeometryConverter.cs
- TraceInternal.cs
- GeneralTransform2DTo3D.cs
- SnapLine.cs
- GlyphCache.cs
- DataControlFieldsEditor.cs
- NetworkInterface.cs
- AutomationElementIdentifiers.cs
- SqlUserDefinedTypeAttribute.cs
- TransformFinalBlockRequest.cs
- ErrorBehavior.cs
- InteropBitmapSource.cs
- SmtpFailedRecipientException.cs
- RenderContext.cs
- Documentation.cs
- ObservableDictionary.cs
- SqlCacheDependencyDatabase.cs
- ElementProxy.cs
- InputLangChangeRequestEvent.cs
- AspNetSynchronizationContext.cs
- LocalizableAttribute.cs
- ExcludePathInfo.cs
- CollectionViewGroupInternal.cs
- TypeConverterValueSerializer.cs
- ClassValidator.cs
- SoapCodeExporter.cs
- LoginUtil.cs
- ItemCheckEvent.cs
- ResourceDisplayNameAttribute.cs
- SR.cs
- XmlEncoding.cs
- MapPathBasedVirtualPathProvider.cs
- DataGridViewLinkColumn.cs
- GuidConverter.cs
- DataGridViewComboBoxEditingControl.cs
- MULTI_QI.cs
- CanonicalFormWriter.cs
- DesignTimeVisibleAttribute.cs
- LinkTarget.cs
- HttpConfigurationSystem.cs
- HttpRequestCacheValidator.cs
- SecurityTraceRecordHelper.cs
- XmlSchemaComplexType.cs
- LinqDataSourceSelectEventArgs.cs
- InvokeMethod.cs
- AssertFilter.cs
- MenuAutomationPeer.cs
- SyndicationSerializer.cs
- PasswordDeriveBytes.cs