public StackFrame GenerateStackFrame()
 {
     return(new StackFrame {
         DeclaringNamespace = Namespaces.Random(),
         DeclaringType = TypeNames.Random(),
         Name = MethodNames.Random(),
         Parameters = new ParameterCollection {
             new Parameter {
                 Type = "String",
                 Name = "path"
             }
         }
     });
 }
Пример #2
0
 private static Exceptionless.Models.Data.StackFrame GenerateStackFrame()
 {
     return(new Exceptionless.Models.Data.StackFrame {
         DeclaringNamespace = Namespaces.Random(),
         DeclaringType = TypeNames.Random(),
         Name = MethodNames.Random(),
         Parameters = new ParameterCollection {
             new Parameter {
                 Type = "String",
                 Name = "path"
             }
         }
     });
 }