private static void AddDetectedSpec(StandardTraitResolution resolution, string name, Assembly assembly)
        {
            var type = assembly.GetType(name);
            if (type == null || !type.IsSubclassOf(typeof(TraitSpec)))
                return;

            var spec = TraitSpec.CreateInstance(type);
            if (spec == null)
                return;

            resolution.Add(spec);
        }
 private void AddIncludedSpecs(StandardTraitResolution resolution)
 {
     var specs = this.specs;
     if (specs != null)
         foreach (var spec in specs)
             resolution.Add(spec);
 }