//--- Constructors --- public TraceChainBuilder(ITraceBuilder traceBuilder) { if (traceBuilder == null) { throw new ArgumentNullException("traceBuilder"); } _traceBuilder = traceBuilder; }
public override void Format(ITraceBuilder builder, T value) { if (value != null) { value.TraceTo(builder); return; } builder.AddArgument(string.Empty); }
public virtual void Format(ITraceBuilder builder, T value) { if (value == null) { builder.AddArgument(string.Empty); return; } ITraceable traceable = value as ITraceable; if (traceable != null) { traceable.TraceTo(builder); return; } string value2 = value.ToString(); builder.AddArgument(value2); }
public override void Format(ITraceBuilder builder, int value) { builder.AddArgument(value); }
public void TraceTo(ITraceBuilder traceBuilder) { traceBuilder.AddArgument(this.ToString()); }
public BWorldController(ITraceBuilder traceBuilder) { _traceBuilder = traceBuilder; }