Ejemplo n.º 1
0
 protected override void Normalize()
 {
     Host = (string)(AdditionalKeys.ContainsKey("host") ? AdditionalKeys["host"] : Host);
     AdditionalKeys.Remove("host");
     Root = (string)(AdditionalKeys.ContainsKey("root") ? AdditionalKeys["root"] : Root);
     AdditionalKeys.Remove("root");
     Branch = (string)(AdditionalKeys.ContainsKey("branch") ? AdditionalKeys["branch"] : Branch);
     AdditionalKeys.Remove("branch");
     CodeVersion = (string)(AdditionalKeys.ContainsKey("code_version") ? AdditionalKeys["code_version"] : CodeVersion);
     AdditionalKeys.Remove("code_version");
 }
Ejemplo n.º 2
0
 protected override void Normalize()
 {
     Browser = (string)(AdditionalKeys.ContainsKey("browser") ? AdditionalKeys["browser"] : Browser);
     AdditionalKeys.Remove("browser");
     CodeVersion = (string)(AdditionalKeys.ContainsKey("code_version") ? AdditionalKeys["code_version"] : CodeVersion);
     AdditionalKeys.Remove("code_version");
     SourceMapEnabled = (bool?)(AdditionalKeys.ContainsKey("source_map_enabled") ? AdditionalKeys["source_map_enabled"] : SourceMapEnabled);
     AdditionalKeys.Remove("source_map_enabled");
     GuessUncaughtFrames = (bool?)(AdditionalKeys.ContainsKey("guess_uncaught_frames") ? AdditionalKeys["guess_uncaught_frames"] : GuessUncaughtFrames);
     AdditionalKeys.Remove("guess_uncaught_frames");
 }
Ejemplo n.º 3
0
 protected override void Normalize()
 {
     Url = (string)(AdditionalKeys.ContainsKey("url") ? AdditionalKeys["url"] : Url);
     AdditionalKeys.Remove("url");
     Method = (string)(AdditionalKeys.ContainsKey("method") ? AdditionalKeys["method"] : Method);
     AdditionalKeys.Remove("method");
     Headers = (Dictionary <string, string>)(AdditionalKeys.ContainsKey("headers") ? AdditionalKeys["headers"] : Headers);
     AdditionalKeys.Remove("headers");
     Params = (Dictionary <string, object>)(AdditionalKeys.ContainsKey("params") ? AdditionalKeys["params"] : Params);
     AdditionalKeys.Remove("params");
     GetParams = (Dictionary <string, object>)(AdditionalKeys.ContainsKey("get_params") ? AdditionalKeys["get_params"] : GetParams);
     AdditionalKeys.Remove("get_params");
     QueryString = (string)(AdditionalKeys.ContainsKey("query_string") ? AdditionalKeys["query_string"] : QueryString);
     AdditionalKeys.Remove("query_string");
     PostParams = (Dictionary <string, object>)(AdditionalKeys.ContainsKey("post_params") ? AdditionalKeys["post_params"] : PostParams);
     AdditionalKeys.Remove("post_params");
     PostBody = (string)(AdditionalKeys.ContainsKey("post_body") ? AdditionalKeys["post_body"] : PostBody);
     AdditionalKeys.Remove("post_body");
     UserIp = (string)(AdditionalKeys.ContainsKey("user_ip") ? AdditionalKeys["user_ip"] : UserIp);
     AdditionalKeys.Remove("user_ip");
 }
Ejemplo n.º 4
0
 protected override void Normalize()
 {
     Body = (string)(AdditionalKeys.ContainsKey("body") && !string.IsNullOrWhiteSpace(AdditionalKeys["body"] as string) ? AdditionalKeys["body"] : Body);
     AdditionalKeys.Remove("body");
 }
Ejemplo n.º 5
0
 protected override void Normalize()
 {
     Javascript = (JavascriptClient)(AdditionalKeys.ContainsKey("javascript") ? AdditionalKeys["javascript"] : Javascript);
     AdditionalKeys.Remove("javascript");
 }