Ejemplo n.º 1
0
        VsICoreAnalyzer VsICoreAnalyzerDescription.CreateAnalyser(long syncTimer, VsICoreAnalyzerConfiguration config)
        {
            VsDummyDetectionConfiguration cfg = (VsDummyDetectionConfiguration)config;

            if (cfg != null)
            {
                VsDummyDetection analyser = new VsDummyDetection(syncTimer);

                analyser.AnalyzerConfiguration = cfg.GetConfiguration();
                analyser.AnalyserName          = algorithmName;

                return((VsDummyDetection)analyser);
            }
            return(null);
        }
Ejemplo n.º 2
0
        VsICoreAnalyzer VsICoreAnalyzerDescription.CreateAnalyser(long syncTimer, VsICoreAnalyzerConfiguration config)
        {
            VsDummyDetectionConfiguration cfg = (VsDummyDetectionConfiguration)config;

            if (cfg != null)
            {
                VsDummyDetection analyser = new VsDummyDetection(syncTimer);

                analyser.AnalyzerConfiguration = cfg.GetConfiguration();
                analyser.AnalyserName = algorithmName;

                return (VsDummyDetection)analyser;
            }
            return null;
        }