Exemple #1
0
 /// <summary>
 ///     Processes the specified type.
 /// </summary>
 /// <param name="type">The type.</param>
 /// <param name="registry">The registry.</param>
 public void Process(Type type, Registry registry)
 {
     if ((typeof(Lookup).IsAssignableFrom(type) && type != typeof(Lookup)) || typeof(IPrimitive).IsAssignableFrom(type))
     {
         if (typeof(Lookup).IsAssignableFrom(type) && type != typeof(Lookup))
         {
             _lookupProvider.Register(type);
         }
         _resourcesManager.Register(type);
     }
 }