예제 #1
0
 public void AddReferencedBy(AssemblyReferenceInfo info)
 {
     if (!_ReferencedBy.Contains(info))
     {
         _ReferencedBy.Add(info);
     }
 }
예제 #2
0
 public void AddReferencedBy(AssemblyReferenceInfo info)
 {
     if (!_ReferencedBy.Contains(info))
     {
         _ReferencedBy.Add(info);
     }
 }
예제 #3
0
        private AssemblyReferenceInfo GetAssemblyReferenceInfo(IDictionary <string, AssemblyReferenceInfo> assemblies, AssemblyName assemblyName)
        {
            AssemblyReferenceInfo assemblyReferenceInfo;

            if (!assemblies.TryGetValue(assemblyName.FullName, out assemblyReferenceInfo))
            {
                assemblyReferenceInfo = new AssemblyReferenceInfo(assemblyName);
                assemblies.Add(assemblyName.FullName, assemblyReferenceInfo);
            }
            return(assemblyReferenceInfo);
        }
예제 #4
0
 private AssemblyReferenceInfo GetAssemblyReferenceInfo(IDictionary<string, AssemblyReferenceInfo> assemblies, AssemblyName assemblyName)
 {
     AssemblyReferenceInfo assemblyReferenceInfo;
     if (!assemblies.TryGetValue(assemblyName.FullName, out assemblyReferenceInfo))
     {
         assemblyReferenceInfo = new AssemblyReferenceInfo(assemblyName);
         assemblies.Add(assemblyName.FullName, assemblyReferenceInfo);
     }
     return assemblyReferenceInfo;
 }