Exemple #1
0
 public void AddAssembly(string assemblyName)
 {
     if (Assemblies.All(x => x.name != assemblyName))
     {
         Assemblies.Add(new UnityAssembly {
             name = assemblyName
         });
     }
 }
Exemple #2
0
 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")));
        }