コード例 #1
0
        /// <summary>
        /// Prepares the analyzer for producing outputs.
        /// </summary>
        public override void Prepare()
        {
            m_oldReader = FingerprintStoreReader.Create(m_oldStoreLocation, Path.Combine(OutputDirectory, "old")).Result;
            m_newReader = FingerprintStoreReader.Create(m_newStoreLocation, Path.Combine(OutputDirectory, "new")).Result;

            m_writer = new StreamWriter(Path.Combine(OutputDirectory, AnalysisFileName));
            if (!NoBanner)
            {
                WriteHeader();
            }
        }
コード例 #2
0
        /// <summary>
        /// Prepares the analyzer for producing outputs.
        /// </summary>
        public override void Prepare()
        {
            m_oldReader = FingerprintStoreReader.Create(m_oldStoreLocation, Path.Combine(OutputDirectory, "old")).Result;
            m_newReader = FingerprintStoreReader.Create(m_newStoreLocation, Path.Combine(OutputDirectory, "new")).Result;

            m_newCacheLookupReader = m_newCacheLookupStoreLocation != null?FingerprintStoreReader.Create(m_newCacheLookupStoreLocation, Path.Combine(OutputDirectory, "new" + LogFileExtensions.CacheLookupFingerprintStore)).Result : null;

            m_writer = new StreamWriter(Path.Combine(OutputDirectory, AnalysisFileName));
            if (!NoBanner)
            {
                WriteHeader();
            }
        }
コード例 #3
0
 /// <summary>
 /// Prepares the analyzer for producing outputs.
 /// </summary>
 public override void Prepare()
 {
     m_storeReader = FingerprintStoreReader.Create(m_storeLocation, Path.Combine(OutputDirectory, "json")).Result;
     m_writer      = new StreamWriter(Path.Combine(OutputDirectory, AnalysisFileName));
     WriteHeader();
 }