using System;
namespace Umbraco.Core.Profiling
{
public static class ProfilerExtensions
{
///
/// Writes out a step prefixed with the type
///
///
///
///
///
public static IDisposable Step(this IProfiler profiler, string name)
{
return profiler.Step(string.Format("[" + typeof (T).Name + "] " + name));
}
}
}