public void AddAssembly(string assemblyName) { if (Assemblies.All(x => x.name != assemblyName)) { Assemblies.Add(new UnityAssembly { name = assemblyName }); } }
public bool IsValid() { return(Assemblies != null && Assemblies.Length > 0 && Assemblies.All(a => !string.IsNullOrWhiteSpace(a.Name) && !string.IsNullOrWhiteSpace(a.Type))); }
public AssemblyGroup(IEnumerable <string> assemblies) { Assemblies = assemblies.ToList(); ReadSymbols = Assemblies.All(a => File.Exists(Path.Combine(Path.GetDirectoryName(a), Path.GetFileNameWithoutExtension(a) + ".pdb"))); }