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
- CatalogPartDesigner.cs
- GraphicsPathIterator.cs
- XmlNamespaceMapping.cs
- TypedElement.cs
- DataGridViewComboBoxCell.cs
- XmlSchemaException.cs
- ConfigXmlComment.cs
- OfTypeExpression.cs
- ObjectHelper.cs
- SoapInteropTypes.cs
- DataGridViewTextBoxCell.cs
- OracleSqlParser.cs
- MethodToken.cs
- Buffer.cs
- Keywords.cs
- TransformConverter.cs
- XPathException.cs
- StringInfo.cs
- InvalidAsynchronousStateException.cs
- FontFamilyIdentifier.cs
- ColumnProvider.cs
- CacheRequest.cs
- CodeCatchClauseCollection.cs
- StateRuntime.cs
- HttpHeaderCollection.cs
- UpdatableGenericsFeature.cs
- TransactionContextManager.cs
- ColumnResult.cs
- DesignerEventService.cs
- SqlTypeConverter.cs
- RootBrowserWindowAutomationPeer.cs
- SQLGuidStorage.cs
- SecurityContextSecurityTokenParameters.cs
- InputDevice.cs
- TryExpression.cs
- mediaeventargs.cs
- HMAC.cs
- NavigatingCancelEventArgs.cs
- OutputCacheSettings.cs
- SqlTriggerAttribute.cs
- FunctionMappingTranslator.cs
- DefaultProxySection.cs
- WebPartVerbsEventArgs.cs
- MetadataArtifactLoaderComposite.cs
- Multiply.cs
- ManagedIStream.cs
- QueryContinueDragEvent.cs
- XPathArrayIterator.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- HitTestWithPointDrawingContextWalker.cs
- SqlEnums.cs
- CreateUserErrorEventArgs.cs
- ProtectedConfigurationProviderCollection.cs
- ColorPalette.cs
- InvokePattern.cs
- SqlClientMetaDataCollectionNames.cs
- PerformanceCounterCategory.cs
- TextTreeUndo.cs
- WebPartConnectionsCancelVerb.cs
- DBConnection.cs
- FunctionDetailsReader.cs
- GeometryCollection.cs
- XmlSchemaDocumentation.cs
- UserControlParser.cs
- ThreadInterruptedException.cs
- Int64KeyFrameCollection.cs
- WindowsMenu.cs
- Certificate.cs
- DataTableNewRowEvent.cs
- IfJoinedCondition.cs
- XamlInterfaces.cs
- CommentEmitter.cs
- ScriptResourceInfo.cs
- SpecularMaterial.cs
- DataSet.cs
- _ContextAwareResult.cs
- InternalUserCancelledException.cs
- LinqDataSourceHelper.cs
- ObjectHandle.cs
- _ProxyRegBlob.cs
- ViewEventArgs.cs
- DataContractSerializerSection.cs
- XmlUTF8TextReader.cs
- Object.cs
- NavigationService.cs
- CompilerGlobalScopeAttribute.cs
- LayoutTableCell.cs
- DesignerDataRelationship.cs
- GroupBox.cs
- DataTemplate.cs
- MeshGeometry3D.cs
- XPathQilFactory.cs
- VolatileEnlistmentMultiplexing.cs
- PointValueSerializer.cs
- ToolStripSystemRenderer.cs
- ObjectViewListener.cs
- CopyOfAction.cs
- GlobalProxySelection.cs
- HandlerFactoryWrapper.cs
- PropertyRecord.cs