Exemplo n.º 1
0
        public ActionInfo(int processId, String categoryName, String actionType, String controllerName,
                          String actionName, String httpMethod, String paramters)
        {
            this.ProcessId = processId;
            this.PerformaneCounterCategory = categoryName;
            this.ActionType     = actionType;
            this.ControllerName = controllerName;
            this.ActionName     = actionName;
            this.HttpMethod     = httpMethod;
            this.Parameters     = paramters;

            this.InstanceName          = this.DetermineRawInstanceName();
            this.SanitizedInstanceName =
                InstanceNameRegistry.GetSanitizedInstanceName(this.InstanceName);
        }
Exemplo n.º 2
0
        public ActionInfo(int processId, String actionType, String controllerName,
                          String actionName, String httpMethod, String paramters, int contentLength)
        {
            this.ProcessId      = processId;
            this.ActionType     = actionType;
            this.ControllerName = controllerName;
            this.ActionName     = actionName;
            this.HttpMethod     = httpMethod;
            this.Parameters     = paramters;
            this.ContentLength  = contentLength;

            this.InstanceName          = this.DetermineRawInstanceName();
            this.SanitizedInstanceName =
                InstanceNameRegistry.GetSanitizedInstanceName(this.InstanceName);
        }