示例#1
0
        public InstrumentedAssembly AddInstrumentedAssembly(string name, string backupFile, string file, string backupPdbFile, string pdbFile)
        {
            if (Assemblies.ContainsKey(name))
            {
                return(Assemblies[name]);
            }

            var instrumentedAssembly = new InstrumentedAssembly
            {
                BackupFile    = backupFile,
                File          = file,
                BackupPdbFile = backupPdbFile,
                PdbFile       = pdbFile
            };

            Assemblies.Add(name, instrumentedAssembly);

            return(instrumentedAssembly);
        }
示例#2
0
 public void AddInstrumentedAssembly(InstrumentedAssembly instrumentedAssembly)
 {
     Assemblies.Add(instrumentedAssembly);
 }