Beispiel #1
0
 /// <summary>
 /// 初始化
 /// </summary>
 static ConfigHelper()
 {
     urlTraceItems = (UrlTraceItems)ConfigBeanManager.Current.GetConfigBean("urltraceitems");
 }
Beispiel #2
0
 /// <summary>
 /// 根据现有配置项克隆一个新对象
 /// </summary>
 /// <returns></returns>
 public object Clone()
 {
     UrlTraceItems clone = new UrlTraceItems();
     clone.Enabled = this.enabled;
     clone.WSRequestInfo = this.wsRequestInfo;
     clone.RequestSize = this.requestSize;
     clone.ResponseSize = this.responseSize;
     clone.ResponseStatus = this.responseStatus;
     clone.RequestCost = this.requestCost;
     clone.ClientIP = this.clientIP;
     clone.FileExtensions = this.fileExtensions;
     clone.RawUrl = this.rawUrl;
     return clone;
 }