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
- SoapReflectionImporter.cs
- TripleDESCryptoServiceProvider.cs
- AppSettingsReader.cs
- CustomValidator.cs
- NavigationFailedEventArgs.cs
- KnownColorTable.cs
- Int16.cs
- AssociatedControlConverter.cs
- PixelShader.cs
- AssemblyInfo.cs
- DataPagerCommandEventArgs.cs
- RepeaterCommandEventArgs.cs
- ComEventsMethod.cs
- WaitHandleCannotBeOpenedException.cs
- MinimizableAttributeTypeConverter.cs
- SchemaExporter.cs
- CardSpaceShim.cs
- CreateUserWizard.cs
- AsymmetricKeyExchangeDeformatter.cs
- DataRecord.cs
- AsyncOperationManager.cs
- Int32Storage.cs
- ListItemCollection.cs
- CodeAssignStatement.cs
- KeyboardNavigation.cs
- SqlInternalConnection.cs
- CodeLabeledStatement.cs
- BitmapEncoder.cs
- ThreadNeutralSemaphore.cs
- ClientData.cs
- WebPartEditorApplyVerb.cs
- LinkDescriptor.cs
- UnmanagedHandle.cs
- WebHttpSecurityModeHelper.cs
- TypeEnumerableViewSchema.cs
- NaturalLanguageHyphenator.cs
- FlowDocumentFormatter.cs
- ErasingStroke.cs
- StorageRoot.cs
- RoleBoolean.cs
- mediaclock.cs
- Figure.cs
- RegionInfo.cs
- XmlObjectSerializer.cs
- BitmapMetadataBlob.cs
- CommandArguments.cs
- TraceUtility.cs
- TrustLevelCollection.cs
- ListManagerBindingsCollection.cs
- Model3DGroup.cs
- DesignTimeValidationFeature.cs
- UniqueContractNameValidationBehavior.cs
- COM2PropertyPageUITypeConverter.cs
- AuthenticationModulesSection.cs
- MemberExpressionHelper.cs
- XPathMessageContext.cs
- ThreadSafeList.cs
- StatusBar.cs
- TextRange.cs
- CollectionEditor.cs
- SerializerDescriptor.cs
- FocusChangedEventArgs.cs
- ActionFrame.cs
- LinqDataSourceDisposeEventArgs.cs
- ThreadInterruptedException.cs
- MetadataArtifactLoaderFile.cs
- TreeViewAutomationPeer.cs
- WorkflowViewManager.cs
- WindowsAuthenticationModule.cs
- EditorPart.cs
- SafeHandles.cs
- DebugView.cs
- HtmlButton.cs
- Win32Exception.cs
- CellPartitioner.cs
- ApplySecurityAndSendAsyncResult.cs
- TemplateBindingExpressionConverter.cs
- DataRelationCollection.cs
- TabletDeviceInfo.cs
- ZipPackage.cs
- FilterableAttribute.cs
- PersistChildrenAttribute.cs
- UIPermission.cs
- PathSegment.cs
- TableRow.cs
- SerializationObjectManager.cs
- SqlMethodTransformer.cs
- StrongNamePublicKeyBlob.cs
- Substitution.cs
- EventBuilder.cs
- ProvidePropertyAttribute.cs
- ValidationHelpers.cs
- SplitterCancelEvent.cs
- CharEnumerator.cs
- AppDomainFactory.cs
- EntitySqlQueryBuilder.cs
- BitmapCacheBrush.cs
- StringWriter.cs
- KeyEventArgs.cs
- DataGridState.cs