Example #1
0
        public void RegisterDomains(Assembly assembly)
        {
            var newMetaDomains = assembly
                                 .GetTypes()
                                 .Where(type => MetaDomain.IsDomain(type))
                                 .Select(domain => new MetaDomain(domain));

            foreach (MetaDomain newMetaDomain in newMetaDomains)
            {
                RegisterDomain(newMetaDomain);
            }
        }
Example #2
0
 public void RegisterDomain(MetaDomain metaDomain)
 {
     metaDomains.Add(metaDomain);
 }
Example #3
0
 public void RegisterDomain(MetaDomain metaDomain)
 {
     metaDomains.Add(metaDomain);
 }