Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / System / Linq / Parallel / QueryOperators / Options / QueryExecutionOption.cs / 1305376 / QueryExecutionOption.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // QueryExecutionOption.cs // //[....] // // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- using System.Collections.Generic; using System.Threading; namespace System.Linq.Parallel { ////// Represents operators that set various query execution options. /// ///internal class QueryExecutionOption : QueryOperator { private QueryOperator m_child; private OrdinalIndexState m_indexState; internal QueryExecutionOption(QueryOperator source, QuerySettings settings) : base(source.OutputOrdered, settings.Merge(source.SpecifiedQuerySettings)) { m_child = source; m_indexState = m_child.OrdinalIndexState; } internal override QueryResults Open(QuerySettings settings, bool preferStriping) { return m_child.Open(settings, preferStriping); } //---------------------------------------------------------------------------------------- // Returns an enumerable that represents the query executing sequentially. // internal override IEnumerable AsSequentialQuery(CancellationToken token) { return m_child.AsSequentialQuery(token); } internal override OrdinalIndexState OrdinalIndexState { get { return m_indexState; } } //--------------------------------------------------------------------------------------- // Whether this operator performs a premature merge. // internal override bool LimitsParallelism { get { return m_child.LimitsParallelism; } } } } // 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
- COM2PropertyDescriptor.cs
- InternalConfigRoot.cs
- BuildResultCache.cs
- RepeatInfo.cs
- TimelineGroup.cs
- SubordinateTransaction.cs
- TreeViewBindingsEditorForm.cs
- MetadataProperty.cs
- CommandID.cs
- HtmlInputControl.cs
- InfoCardConstants.cs
- GeneralTransformGroup.cs
- SessionParameter.cs
- SQLDoubleStorage.cs
- ClipboardData.cs
- HotSpot.cs
- CachedBitmap.cs
- newitemfactory.cs
- SapiRecoInterop.cs
- BaseAppDomainProtocolHandler.cs
- Int32Converter.cs
- FontDialog.cs
- ImportOptions.cs
- TextElementEnumerator.cs
- SecurityKeyIdentifier.cs
- StringDictionary.cs
- CodeGenerator.cs
- HttpClientCertificate.cs
- DynamicMethod.cs
- WorkflowRuntime.cs
- Object.cs
- XmlWrappingWriter.cs
- Pair.cs
- UIElement.cs
- TableLayoutColumnStyleCollection.cs
- ArraySegment.cs
- OperationValidationEventArgs.cs
- WebSysDescriptionAttribute.cs
- RequestCacheEntry.cs
- XmlHierarchyData.cs
- ConnectionManagementElementCollection.cs
- Helpers.cs
- ScrollPattern.cs
- PropertyInfoSet.cs
- StringConverter.cs
- WindowsListViewItemStartMenu.cs
- EndEvent.cs
- Camera.cs
- QilUnary.cs
- SqlNotificationRequest.cs
- ICollection.cs
- ToolStripPanel.cs
- TextDocumentView.cs
- CodeSnippetTypeMember.cs
- SafeEventLogWriteHandle.cs
- EditorPartCollection.cs
- WaitHandle.cs
- ProfilePropertySettingsCollection.cs
- SqlDataSourceCache.cs
- PropertyGeneratedEventArgs.cs
- SqlSelectStatement.cs
- ApplyHostConfigurationBehavior.cs
- ViewStateModeByIdAttribute.cs
- Point.cs
- X509ServiceCertificateAuthenticationElement.cs
- SHA256Managed.cs
- RSAOAEPKeyExchangeFormatter.cs
- RegexCapture.cs
- DataKey.cs
- ManagementQuery.cs
- Vector3DConverter.cs
- MsmqIntegrationSecurityElement.cs
- _UncName.cs
- RefExpr.cs
- SQLRoleProvider.cs
- XmlCharacterData.cs
- StateWorkerRequest.cs
- _AutoWebProxyScriptHelper.cs
- InteropAutomationProvider.cs
- PictureBox.cs
- PropertyChangedEventManager.cs
- SmtpNegotiateAuthenticationModule.cs
- XmlSchemaSimpleTypeList.cs
- DataGridViewSelectedRowCollection.cs
- WebPartManagerInternals.cs
- SqlDependencyListener.cs
- BrowsableAttribute.cs
- SqlDataSourceSelectingEventArgs.cs
- GridViewActionList.cs
- Bits.cs
- QuaternionRotation3D.cs
- InternalsVisibleToAttribute.cs
- Error.cs
- ParamArrayAttribute.cs
- FormatSettings.cs
- Section.cs
- GridViewUpdateEventArgs.cs
- NamespaceQuery.cs
- OpCodes.cs
- DataServiceExpressionVisitor.cs