예제 #1
0
        public void Prime()
        {
            var handlerTypes = assemblyScanner.FindTypes(typeof(IHandle <>));

            Clear();

            foreach (var handlerType in handlerTypes)
            {
                logger.LogDebug($"Found handler {handlerType.Name}");
                Add(handlerType);
            }
        }