Exemple #1
0
 static TestFileSerializer()
 {
     Transform = JsonVisitor.CreateComposite
                 (
         new PropertyNameTrimmer(),
         new PrettyTypeResolver(new[]
     {
         typeof(Gunter.Data.SqlClient.TableOrView),
         typeof(Gunter.Data.Attachements.JsonValue),
         typeof(Gunter.Messaging.Mailr),
         typeof(Gunter.Reporting.Modules.Level),
         typeof(Gunter.Reporting.Modules.Greeting),
         typeof(Gunter.Reporting.Modules.TestCase),
         typeof(Gunter.Reporting.Modules.DataSource),
         typeof(Gunter.Reporting.Modules.DataSummary),
         typeof(Gunter.Reporting.Formatters.TimeSpan),
         typeof(Gunter.Reporting.Filters.FirstLine),
     })
                 );
 }