Esempio n. 1
0
 public void AddAssembly(string assemblyName)
 {
     if (Assemblies.All(x => x.name != assemblyName))
     {
         Assemblies.Add(new UnityAssembly {
             name = assemblyName
         });
     }
 }
Esempio n. 2
0
 public bool IsValid()
 {
     return(Assemblies != null && Assemblies.Length > 0 &&
            Assemblies.All(a => !string.IsNullOrWhiteSpace(a.Name) && !string.IsNullOrWhiteSpace(a.Type)));
 }
Esempio n. 3
0
        public AssemblyGroup(IEnumerable <string> assemblies)
        {
            Assemblies = assemblies.ToList();

            ReadSymbols = Assemblies.All(a => File.Exists(Path.Combine(Path.GetDirectoryName(a), Path.GetFileNameWithoutExtension(a) + ".pdb")));
        }