示例#1
0
        /// <summary>
        /// Adds a new assembly to the mapping table.
        /// </summary>
        /// <param name="assembly">The assembly.</param>
        /// <returns></returns>
        public AssemblyMapping AddAssembly(AssemblyDefinition assembly)
        {
            AssemblyMapping mapping = new AssemblyMapping(assembly.Name.FullName);

            assemblyMappings.Add(assembly.Name.FullName, mapping);
            return(mapping);
        }
示例#2
0
 /// <summary>
 /// Adds a new assembly to the mapping table.
 /// </summary>
 /// <param name="assembly">The assembly.</param>
 /// <returns></returns>
 public AssemblyMapping AddAssembly(AssemblyDefinition assembly)
 {
     AssemblyMapping mapping = new AssemblyMapping(assembly.Name.FullName);
     assemblyMappings.Add(assembly.Name.FullName, mapping);
     return mapping;
 }