private void PopulateSink(IMspecDiscoverySink sink, ISpecificationElement[] elements)
        {
            foreach (var element in elements)
            {
                sink.OnSpecification(element);
            }

            sink.OnDiscoveryCompleted();
        }
        public void Find(IMspecDiscoverySink sink, string assemblyPath)
        {
            var assemblyName = AssemblyName.GetAssemblyName(assemblyPath);
            var assembly     = Assembly.Load(assemblyName);

            var results = (string)invoker.Invoke(controller, new object[] { assembly });

            var specifications = GetSpecifications(assembly, results);

            foreach (var specification in specifications)
            {
                sink.OnSpecification(specification);
            }

            sink.OnDiscoveryCompleted();
        }