public override cContext NewObjectV(bool pContextTraceDelay, string pClass, int pVersion, params object[] pArgs) { bool lContextTraceDelay = mContextTraceDelay || pContextTraceDelay; var lResult = new cSubObjectV(mRoot, this, mLevel, lContextTraceDelay, pClass, pVersion, pArgs); if (!lContextTraceDelay) { lResult.TraceContext(); } return(lResult); }
/// <inheritdoc/> public override cContext NewObjectV(bool pContextTraceDelay, string pClass, int pVersion, params object[] pArgs) { if (mTraceSource == null) { return(this); } bool lContextTraceDelay = mContextTraceDelay || pContextTraceDelay; var lResult = new cSubObjectV(this, this, 1, lContextTraceDelay, pClass, pVersion, pArgs); if (!lContextTraceDelay) { lResult.TraceContext(); } return(lResult); }