Ejemplo n.º 1
0
 /// <summary>
 ///     Returns a new clone of this template.
 /// </summary>
 /// <returns></returns>
 public AnalyserTemplate Clone()
 {
     return(new AnalyserTemplate
     {
         Id = Id,
         AnalyserPluginId = AnalyserPluginId,
         Configuration = _configuration?.Clone() as ILogAnalyserConfiguration
     });
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Returns a new clone of this template.
 /// </summary>
 /// <returns></returns>
 public AnalyserTemplate Clone()
 {
     return(new AnalyserTemplate
     {
         Id = Id,
         FactoryId = FactoryId,
         Configuration = _configuration?.Clone() as ILogAnalyserConfiguration
     });
 }
Ejemplo n.º 3
0
        public DataSourceAnalyserSnapshot CreateSnapshot()
        {
            var configuration = _configuration?.Clone() as ILogAnalyserConfiguration;
            var result        = Result?.Clone() as ILogAnalysisResult;
            var progress      = Progress;

            return(new DataSourceAnalyserSnapshot(Id,
                                                  FactoryId,
                                                  configuration,
                                                  result,
                                                  progress));
        }