示例#1
0
            public VariablesResponseType GetVariableInfo(String VariableParameter)
            {
                Stopwatch      timer = System.Diagnostics.Stopwatch.StartNew();
                GetVariablesOD obj   = new GetVariablesOD();

                queryLog2.LogStart(Logging.Methods.GetVariables, VariableParameter,
                                   appContext.Request.UserHostName);

                VariablesResponseType resp = obj.GetVariableInfo(VariableParameter);

                queryLog2.LogEnd(Logging.Methods.GetVariables,
                                 VariableParameter,
                                 timer.ElapsedMilliseconds.ToString(),
                                 resp.variables.Length.ToString(),
                                 appContext.Request.UserHostName);


                return(resp);
            }
            public VariablesResponseType GetVariableInfo(String VariableParameter)
            {
                Stopwatch timer = System.Diagnostics.Stopwatch.StartNew();
                GetVariablesOD obj = new GetVariablesOD();

                queryLog2.LogStart(Logging.Methods.GetVariables, VariableParameter,
                      appContext.Request.UserHostName);

                VariablesResponseType resp = obj.GetVariableInfo(VariableParameter);

                queryLog2.LogEnd(Logging.Methods.GetVariables,
                    VariableParameter,
                    timer.ElapsedMilliseconds.ToString(),
                    resp.variables.Length.ToString(),
                      appContext.Request.UserHostName);

                return resp;
            }