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
- DataGridViewSelectedRowCollection.cs
- ParamArrayAttribute.cs
- SqlConnectionManager.cs
- ArgumentNullException.cs
- ImageFormatConverter.cs
- SiteMapSection.cs
- HandlerFactoryWrapper.cs
- BehaviorEditorPart.cs
- XamlSerializationHelper.cs
- XsltContext.cs
- TypeHelper.cs
- IndicShape.cs
- SymbolType.cs
- Vector3DKeyFrameCollection.cs
- GridViewColumnCollection.cs
- TrustLevelCollection.cs
- DataGridViewBindingCompleteEventArgs.cs
- ReverseInheritProperty.cs
- ZeroOpNode.cs
- Trustee.cs
- ProcessThread.cs
- View.cs
- GridViewRowPresenter.cs
- HyperLinkColumn.cs
- DurableOperationAttribute.cs
- XmlEntity.cs
- FragmentQueryKB.cs
- OptimizedTemplateContent.cs
- XmlDocumentType.cs
- IODescriptionAttribute.cs
- CombinedGeometry.cs
- Int16AnimationUsingKeyFrames.cs
- ObjectHandle.cs
- BuildProvidersCompiler.cs
- SystemException.cs
- SecondaryIndexDefinition.cs
- CodeAccessPermission.cs
- FixedTextBuilder.cs
- ForwardPositionQuery.cs
- WCFModelStrings.Designer.cs
- XmlSchemaSimpleTypeRestriction.cs
- DataGridViewButtonCell.cs
- DataGridLengthConverter.cs
- BasePropertyDescriptor.cs
- OutputScope.cs
- DataPagerCommandEventArgs.cs
- ModulesEntry.cs
- WmfPlaceableFileHeader.cs
- OutputCacheProfileCollection.cs
- XmlSchemaSimpleContentRestriction.cs
- HtmlTableCellCollection.cs
- TextAutomationPeer.cs
- QueueProcessor.cs
- Point3D.cs
- XmlValidatingReaderImpl.cs
- TypeDescriptorContext.cs
- StringFreezingAttribute.cs
- XamlPathDataSerializer.cs
- EdmToObjectNamespaceMap.cs
- DefaultExpression.cs
- TextOnlyOutput.cs
- TokenBasedSetEnumerator.cs
- TextEditorSelection.cs
- SoapSchemaExporter.cs
- ConfigurationPropertyCollection.cs
- diagnosticsswitches.cs
- UndirectedGraph.cs
- SourceFileBuildProvider.cs
- LoginDesigner.cs
- ObservableDictionary.cs
- BatchStream.cs
- EdmItemCollection.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- SymmetricAlgorithm.cs
- XmlQueryType.cs
- Substitution.cs
- DataGridParentRows.cs
- SettingsSection.cs
- VSWCFServiceContractGenerator.cs
- XmlWriter.cs
- ColorTranslator.cs
- URLIdentityPermission.cs
- Matrix3D.cs
- OrderByExpression.cs
- ConnectionManagementSection.cs
- AnimationLayer.cs
- ClosableStream.cs
- TreeViewHitTestInfo.cs
- WindowsFormsSectionHandler.cs
- DataFieldEditor.cs
- XmlDocumentFragment.cs
- SmiRecordBuffer.cs
- Point3DCollectionConverter.cs
- shaperfactoryquerycachekey.cs
- SqlStatistics.cs
- XPathDescendantIterator.cs
- RTTypeWrapper.cs
- EntityContainerEmitter.cs
- HtmlInputButton.cs
- SocketInformation.cs