示例#1
0
                    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);
                    }
示例#2
0
                /// <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);
                }