public void AddReferencedBy(AssemblyReferenceInfo info) { if (!_ReferencedBy.Contains(info)) { _ReferencedBy.Add(info); } }
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); }
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; }