Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / Tracking / TrackingRecordPreFilter.cs / 1305376 / TrackingRecordPreFilter.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Activities.Tracking { class TrackingRecordPreFilter { public TrackingRecordPreFilter() { } public TrackingRecordPreFilter(bool trackingProviderInitialized) { if (trackingProviderInitialized) { this.TrackingProviderInitialized = true; this.TrackActivityScheduledRecords = true; this.TrackActivityStateRecords = true; this.TrackActivityStateRecordsClosedState = true; this.TrackActivityStateRecordsExecutingState = true; this.TrackBookmarkResumptionRecords = true; this.TrackCancelRequestedRecords = true; this.TrackFaultPropagationRecords = true; this.TrackWorkflowInstanceRecords = true; } } internal bool TrackingProviderInitialized { get; private set; } internal bool TrackWorkflowInstanceRecords { get; set; } internal bool TrackBookmarkResumptionRecords { get; set; } internal bool TrackActivityScheduledRecords { get; set; } internal bool TrackActivityStateRecordsClosedState { get; set; } internal bool TrackActivityStateRecordsExecutingState { get; set; } internal bool TrackActivityStateRecords { get; set; } internal bool TrackCancelRequestedRecords { get; set; } internal bool TrackFaultPropagationRecords { get; set; } internal void Merge(TrackingRecordPreFilter filter) { if (this.TrackingProviderInitialized) { this.TrackingProviderInitialized = false; this.TrackActivityStateRecordsExecutingState = filter.TrackActivityStateRecordsExecutingState; this.TrackActivityScheduledRecords = filter.TrackActivityScheduledRecords; this.TrackActivityStateRecords = filter.TrackActivityStateRecords; this.TrackActivityStateRecordsClosedState = filter.TrackActivityStateRecordsClosedState; this.TrackBookmarkResumptionRecords = filter.TrackBookmarkResumptionRecords; this.TrackCancelRequestedRecords = filter.TrackCancelRequestedRecords; this.TrackFaultPropagationRecords = filter.TrackFaultPropagationRecords; this.TrackWorkflowInstanceRecords = filter.TrackWorkflowInstanceRecords; } else { this.TrackActivityStateRecordsExecutingState |= filter.TrackActivityStateRecordsExecutingState; this.TrackActivityScheduledRecords |= filter.TrackActivityScheduledRecords; this.TrackActivityStateRecords |= filter.TrackActivityStateRecords; this.TrackActivityStateRecordsClosedState |= filter.TrackActivityStateRecordsClosedState; this.TrackBookmarkResumptionRecords |= filter.TrackBookmarkResumptionRecords; this.TrackCancelRequestedRecords |= filter.TrackCancelRequestedRecords; this.TrackFaultPropagationRecords |= filter.TrackFaultPropagationRecords; this.TrackWorkflowInstanceRecords |= filter.TrackWorkflowInstanceRecords; } } } } // 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
- CaseInsensitiveComparer.cs
- CodeTypeDeclarationCollection.cs
- LockedActivityGlyph.cs
- SerialPinChanges.cs
- DragSelectionMessageFilter.cs
- TransactionFormatter.cs
- TextOnlyOutput.cs
- CookieProtection.cs
- ConfigurationHandlersInstallComponent.cs
- GridViewRowPresenterBase.cs
- DetailsViewInsertEventArgs.cs
- FontCacheUtil.cs
- _OverlappedAsyncResult.cs
- EntityDataSourceWizardForm.cs
- Attribute.cs
- TextViewSelectionProcessor.cs
- BooleanToVisibilityConverter.cs
- SortAction.cs
- Timer.cs
- ObjectTag.cs
- EndpointIdentityExtension.cs
- KeyboardNavigation.cs
- InnerItemCollectionView.cs
- SafePointer.cs
- RepeatButtonAutomationPeer.cs
- StringFunctions.cs
- GuidTagList.cs
- Point4DConverter.cs
- TextBoxBase.cs
- HashJoinQueryOperatorEnumerator.cs
- WindowsClientCredential.cs
- ObjectDataSourceStatusEventArgs.cs
- BitConverter.cs
- CheckBoxFlatAdapter.cs
- FixedDSBuilder.cs
- StatusBar.cs
- DataGridViewUtilities.cs
- PromptBuilder.cs
- StrongNameMembershipCondition.cs
- XPathDocumentBuilder.cs
- IntSecurity.cs
- EntitySetRetriever.cs
- CommonDialog.cs
- DbDataAdapter.cs
- TraceUtility.cs
- Point3D.cs
- Activity.cs
- ListItemParagraph.cs
- HttpListenerException.cs
- IApplicationTrustManager.cs
- input.cs
- _FtpDataStream.cs
- ChildDocumentBlock.cs
- IgnoreDeviceFilterElement.cs
- WinEventTracker.cs
- NodeInfo.cs
- ApplicationServicesHostFactory.cs
- TextSelectionProcessor.cs
- TrackingDataItem.cs
- FixedDocumentSequencePaginator.cs
- WindowVisualStateTracker.cs
- altserialization.cs
- XmlSchemaSimpleType.cs
- SafeCryptContextHandle.cs
- DependencyPropertyAttribute.cs
- ServiceOperation.cs
- BoolExpr.cs
- HtmlAnchor.cs
- Material.cs
- PersonalizationDictionary.cs
- AutomationElement.cs
- UserControlCodeDomTreeGenerator.cs
- MobileResource.cs
- SizeConverter.cs
- TabControlCancelEvent.cs
- SqlTriggerContext.cs
- SmiRequestExecutor.cs
- InvokeMethodActivityDesigner.cs
- CookielessHelper.cs
- KerberosTokenFactoryCredential.cs
- SqlMetaData.cs
- CollectionChangedEventManager.cs
- basecomparevalidator.cs
- MsdtcClusterUtils.cs
- __Filters.cs
- QilLoop.cs
- TextDecorationCollection.cs
- SafeNativeMethods.cs
- CachedBitmap.cs
- PageContentCollection.cs
- DrawingCollection.cs
- NotSupportedException.cs
- PropertyInfoSet.cs
- FontNameEditor.cs
- RecognizerStateChangedEventArgs.cs
- UserPreferenceChangedEventArgs.cs
- ApplicationGesture.cs
- JavaScriptString.cs
- LowerCaseStringConverter.cs
- Preprocessor.cs