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
- ColumnHeaderCollectionEditor.cs
- WinEventTracker.cs
- NominalTypeEliminator.cs
- NavigationWindowAutomationPeer.cs
- BitmapMetadata.cs
- UIElement.cs
- ToolStripDesignerAvailabilityAttribute.cs
- SamlAuthenticationClaimResource.cs
- ListItem.cs
- TableRowsCollectionEditor.cs
- BitmapEffectGroup.cs
- Dictionary.cs
- Grant.cs
- ScriptReference.cs
- MailHeaderInfo.cs
- _UriTypeConverter.cs
- CustomAttributeSerializer.cs
- DataStorage.cs
- RegisteredDisposeScript.cs
- Menu.cs
- GestureRecognizer.cs
- WebPartsSection.cs
- WeakReferenceKey.cs
- Drawing.cs
- StreamUpdate.cs
- SchemaImporter.cs
- DataGridViewColumnCollectionEditor.cs
- Propagator.JoinPropagator.cs
- EventToken.cs
- ReadOnlyObservableCollection.cs
- DesignerAttributeInfo.cs
- ProfileServiceManager.cs
- ColumnMapCopier.cs
- VisualTreeUtils.cs
- ProjectedSlot.cs
- DataGridCheckBoxColumn.cs
- HostVisual.cs
- DocumentPageHost.cs
- ToolStripContainerDesigner.cs
- GraphicsPath.cs
- Int32CAMarshaler.cs
- LookupBindingPropertiesAttribute.cs
- DataGridViewHitTestInfo.cs
- Monitor.cs
- AbstractDataSvcMapFileLoader.cs
- BamlRecordReader.cs
- UnmanagedMemoryStream.cs
- FontWeight.cs
- VariantWrapper.cs
- Soap.cs
- AnnotationObservableCollection.cs
- FormatConvertedBitmap.cs
- ClickablePoint.cs
- DrawTreeNodeEventArgs.cs
- DivideByZeroException.cs
- XmlSchemaSubstitutionGroup.cs
- Window.cs
- HybridObjectCache.cs
- _StreamFramer.cs
- TreeWalker.cs
- DataConnectionHelper.cs
- SerialErrors.cs
- XmlSchemaInfo.cs
- SelectorAutomationPeer.cs
- EdgeProfileValidation.cs
- DataGridViewRowHeaderCell.cs
- User.cs
- BrowserTree.cs
- ChannelFactoryBase.cs
- CookieProtection.cs
- WorkflowQueuingService.cs
- QilStrConcatenator.cs
- ItemAutomationPeer.cs
- ComplexBindingPropertiesAttribute.cs
- ProtocolViolationException.cs
- XMLSyntaxException.cs
- MetadataException.cs
- SqlXmlStorage.cs
- LayoutTableCell.cs
- DiscoveryClientDuplexChannel.cs
- SuppressIldasmAttribute.cs
- CompareValidator.cs
- SoapFault.cs
- EdgeProfileValidation.cs
- WebPartConnectionsConfigureVerb.cs
- ErrorRuntimeConfig.cs
- EncryptedPackageFilter.cs
- Logging.cs
- Binding.cs
- Win32KeyboardDevice.cs
- AppDomainFactory.cs
- SchemaImporterExtensionElement.cs
- DesignerAttribute.cs
- SqlCacheDependency.cs
- OutputCacheProfile.cs
- PermissionSetEnumerator.cs
- AliasedExpr.cs
- ItemCollection.cs
- MasterPage.cs
- StylusButtonEventArgs.cs