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
- XPathNavigator.cs
- TextSchema.cs
- OpCodes.cs
- SqlDataRecord.cs
- ProcessModelSection.cs
- ItemDragEvent.cs
- ActivityContext.cs
- LinqDataSourceDeleteEventArgs.cs
- StylusTip.cs
- SmtpDateTime.cs
- SystemIPInterfaceProperties.cs
- Storyboard.cs
- _ScatterGatherBuffers.cs
- XmlNamespaceMappingCollection.cs
- UserControl.cs
- CodeAttributeArgument.cs
- ClientSponsor.cs
- ProgressBar.cs
- XamlFigureLengthSerializer.cs
- FileDetails.cs
- TagPrefixCollection.cs
- Compiler.cs
- WorkflowServiceNamespace.cs
- VersionedStream.cs
- SerialErrors.cs
- DrawingBrush.cs
- MetadataArtifactLoaderFile.cs
- HWStack.cs
- FixedSOMContainer.cs
- CategoryValueConverter.cs
- AnnotationObservableCollection.cs
- DataGridViewCellStyleConverter.cs
- Decoder.cs
- TextBoxAutoCompleteSourceConverter.cs
- URLIdentityPermission.cs
- DBPropSet.cs
- Single.cs
- SapiGrammar.cs
- CodeTryCatchFinallyStatement.cs
- ContainerParaClient.cs
- LinkedDataMemberFieldEditor.cs
- PerformanceCounterPermissionEntryCollection.cs
- GridViewSortEventArgs.cs
- Helper.cs
- Identity.cs
- BookmarkScopeHandle.cs
- ControllableStoryboardAction.cs
- ParentUndoUnit.cs
- RealizationDrawingContextWalker.cs
- FormatterConverter.cs
- DBCommand.cs
- ButtonBase.cs
- EntityConnectionStringBuilderItem.cs
- SearchExpression.cs
- RawStylusInput.cs
- TdsEnums.cs
- BatchStream.cs
- SectionInput.cs
- OracleException.cs
- Model3D.cs
- ObjectDataSourceMethodEventArgs.cs
- InheritanceContextHelper.cs
- ListDictionary.cs
- MeasurementDCInfo.cs
- NavigationProperty.cs
- MenuCommandsChangedEventArgs.cs
- XmlSchemaComplexContentExtension.cs
- dataprotectionpermission.cs
- CompilerHelpers.cs
- _CommandStream.cs
- InfoCardSymmetricCrypto.cs
- ArrayTypeMismatchException.cs
- GroupBoxAutomationPeer.cs
- BufferedMessageWriter.cs
- UserNamePasswordValidator.cs
- AccessedThroughPropertyAttribute.cs
- DateTimeConverter.cs
- RolePrincipal.cs
- SmiTypedGetterSetter.cs
- DefaultValueConverter.cs
- ImmutableCollection.cs
- ConfigXmlCDataSection.cs
- CustomValidator.cs
- ListSortDescription.cs
- AnimationLayer.cs
- Accessible.cs
- AxDesigner.cs
- WebContext.cs
- Configuration.cs
- DefaultDialogButtons.cs
- Stylesheet.cs
- UrlAuthorizationModule.cs
- SelectionProcessor.cs
- ToolStripMenuItemDesigner.cs
- IssuedSecurityTokenParameters.cs
- SplashScreen.cs
- DispatcherObject.cs
- MenuCommands.cs
- DesignerActionGlyph.cs
- DataObjectSettingDataEventArgs.cs