AbstractContainerDebuggerExtension
using Castle.MicroKernel;
using Castle.Windsor.Diagnostics.DebuggerViews;
using System.Collections.Generic;
namespace Castle.Windsor.Diagnostics.Extensions
{
public abstract class AbstractContainerDebuggerExtension : IContainerDebuggerExtension
{
public abstract IEnumerable<DebuggerViewItem> Attach();
public abstract void Init(IKernel kernel, IDiagnosticsHost diagnosticsHost);
protected ComponentDebuggerView DefaultComponentView(IHandler handler)
{
return DefaultComponentView(handler, null);
}
protected ComponentDebuggerView DefaultComponentView(IHandler handler, string description)
{
return ComponentDebuggerView.BuildFor(handler, description);
}
}
}