/// <summary> /// Constructor /// </summary> /// <param name="description"></param> /// <param name="outStats"></param> /// <param name="target"></param> /// <param name="enabled"></param> public TimingBlock(string description, TimingStats outStats, TimingBlock.LoggingType target = LoggingType.Console, bool enabled = true) { Description = description; this.outStats = outStats; Enabled = enabled; Target = target; Startup(); }
/// <summary> /// /// </summary> /// <param name="outStats"></param> /// <param name="target"></param> /// <param name="enabled"></param> public TimingBlock(TimingStats outStats, TimingBlock.LoggingType target = LoggingType.Console, bool enabled = true) : this((string)null, outStats, target, enabled) { }