CustomProbe

Namespace: WellFired.Profile

Implements: WellFired.Profile.Probes.IProbe, WellFired.Profile.Probes.IFormattedName

Description

A custom Probe can be used if you want to add custom data to your profiling session.

Properties

string Name { get; set; }

Public Methods

  CustomProbe ( Func< object > method, string name )
object Probe ( )

Breakdown

  • string Name { get; set; }
  • CustomProbe ( Func< object > method, string name )

    Description

    Constructs a new instance of CustomProbe

    Parameters

    method The method that will return your custom data
    name Name this probe something sensible
  • object Probe ( )

    Description

    Returns the probed data.