Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / DebugEngine / IWorkflowDebuggerService.cs / 1305376 / IWorkflowDebuggerService.cs
using System;
using System.Workflow.ComponentModel;
namespace System.Workflow.Runtime.DebugEngine
{
public interface IWorkflowDebuggerService
{
void NotifyHandlerInvoking(Delegate delegateHandler);
void NotifyHandlerInvoked();
}
internal sealed class WorkflowDebuggerService : IWorkflowDebuggerService
{
private IWorkflowCoreRuntime coreRuntime;
internal WorkflowDebuggerService(IWorkflowCoreRuntime coreRuntime)
{
if (coreRuntime == null)
throw new ArgumentNullException("coreRuntime");
this.coreRuntime = coreRuntime;
}
void IWorkflowDebuggerService.NotifyHandlerInvoking(Delegate delegateHandler)
{
this.coreRuntime.RaiseHandlerInvoking(delegateHandler);
}
void IWorkflowDebuggerService.NotifyHandlerInvoked()
{
this.coreRuntime.RaiseHandlerInvoked();
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Workflow.ComponentModel;
namespace System.Workflow.Runtime.DebugEngine
{
public interface IWorkflowDebuggerService
{
void NotifyHandlerInvoking(Delegate delegateHandler);
void NotifyHandlerInvoked();
}
internal sealed class WorkflowDebuggerService : IWorkflowDebuggerService
{
private IWorkflowCoreRuntime coreRuntime;
internal WorkflowDebuggerService(IWorkflowCoreRuntime coreRuntime)
{
if (coreRuntime == null)
throw new ArgumentNullException("coreRuntime");
this.coreRuntime = coreRuntime;
}
void IWorkflowDebuggerService.NotifyHandlerInvoking(Delegate delegateHandler)
{
this.coreRuntime.RaiseHandlerInvoking(delegateHandler);
}
void IWorkflowDebuggerService.NotifyHandlerInvoked()
{
this.coreRuntime.RaiseHandlerInvoked();
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Pens.cs
- PropertyValidationContext.cs
- RotateTransform.cs
- SettingsProviderCollection.cs
- UrlPath.cs
- pingexception.cs
- FieldValue.cs
- Types.cs
- CapabilitiesState.cs
- TextTabProperties.cs
- EpmSyndicationContentSerializer.cs
- MessageQueue.cs
- ActionNotSupportedException.cs
- CodeBlockBuilder.cs
- CreateInstanceBinder.cs
- ParsedAttributeCollection.cs
- DataColumnMapping.cs
- SequentialOutput.cs
- DependentTransaction.cs
- ProtocolsConfiguration.cs
- RayMeshGeometry3DHitTestResult.cs
- GridViewSortEventArgs.cs
- WinFormsSpinner.cs
- IDQuery.cs
- LayoutTable.cs
- SqlTriggerAttribute.cs
- TypeForwardedToAttribute.cs
- SqlMethodAttribute.cs
- EntityFunctions.cs
- SecurityException.cs
- FormatConvertedBitmap.cs
- ClientTarget.cs
- FileRecordSequenceHelper.cs
- SmtpNtlmAuthenticationModule.cs
- XPathMessageContext.cs
- DocobjHost.cs
- FirstMatchCodeGroup.cs
- Icon.cs
- QuotedStringWriteStateInfo.cs
- AmbientProperties.cs
- SynchronizationContext.cs
- NaturalLanguageHyphenator.cs
- DynamicResourceExtension.cs
- HttpClientCredentialType.cs
- DataFieldConverter.cs
- PersonalizationProviderCollection.cs
- BitmapImage.cs
- ModelItemDictionary.cs
- FlowDocumentPaginator.cs
- VectorAnimationBase.cs
- XmlResolver.cs
- ProvidePropertyAttribute.cs
- LogLogRecordHeader.cs
- FormDocumentDesigner.cs
- WebPartUserCapability.cs
- CorrelationManager.cs
- RequiredAttributeAttribute.cs
- SelectionItemPattern.cs
- StopStoryboard.cs
- XPathNodeList.cs
- UnwrappedTypesXmlSerializerManager.cs
- AddInControllerImpl.cs
- COMException.cs
- PriorityBinding.cs
- OutgoingWebResponseContext.cs
- ObjectKeyFrameCollection.cs
- BaseTemplatedMobileComponentEditor.cs
- ConditionBrowserDialog.cs
- X509Certificate2Collection.cs
- KeyPullup.cs
- CommandLibraryHelper.cs
- DataSourceControlBuilder.cs
- WebPartMinimizeVerb.cs
- DbDataSourceEnumerator.cs
- BamlBinaryReader.cs
- BasePattern.cs
- ElementProxy.cs
- MediaPlayer.cs
- Hyperlink.cs
- DataSourceConverter.cs
- PhysicalAddress.cs
- NumericUpDown.cs
- PrimitiveDataContract.cs
- XmlSchemaDocumentation.cs
- SafeNativeMethodsCLR.cs
- ApplicationDirectory.cs
- ToolStripDropDownMenu.cs
- ServicePointManagerElement.cs
- _TransmitFileOverlappedAsyncResult.cs
- ProcessProtocolHandler.cs
- ShapeTypeface.cs
- XmlSchemaExternal.cs
- OfTypeExpression.cs
- Stack.cs
- DataSvcMapFileSerializer.cs
- PersonalizationDictionary.cs
- WindowsPen.cs
- Bitmap.cs
- FilterInvalidBodyAccessException.cs
- TextElementEnumerator.cs