public static void Register( IManager postprocessorsManager, IUserDefinedFormatsManager userDefinedFormatsManager, ITimeSeriesTypesAccess timeSeriesTypesAccess, IModel postprocessingModel) { var fac = userDefinedFormatsManager.Items.FirstOrDefault(f => f.FormatName == "LogJoint debug trace") as UDF; if (fac == null) { return; } var timeline = new LogSourcePostprocessor( PostprocessorKind.Timeline, input => RunTimelinePostprocessor(input, postprocessingModel) ); var timeSeries = new LogSourcePostprocessor( PostprocessorKind.TimeSeries, input => RunTimeSeriesPostprocessor(input, postprocessingModel) ); timeSeriesTypesAccess.RegisterTimeSeriesTypesAssembly(typeof(LJT.ProfilingSeries).Assembly); postprocessorsManager.RegisterLogType(new LogSourceMetadata(fac, new[] { timeline, timeSeries })); }
public Model(ITimeSeriesTypesAccess timeSeriesTypesAccess) { this.timeSeriesTypesAccess = timeSeriesTypesAccess; }
public PostprocessorsFactory(ITimeSeriesTypesAccess timeSeriesTypesAccess) { this.timeSeriesTypesAccess = timeSeriesTypesAccess; }