public void Setup() { var implementationLocator = new TypeLocator <ISomeInterface>(Assembly.GetExecutingAssembly()); var descendantLocator = new TypeLocator <SomeBaseClass>(Assembly.GetExecutingAssembly()); _implementations = implementationLocator.FindAll(); _descendants = descendantLocator.FindAll(); }
public void Setup() { var implementationLocator = new TypeLocator<ISomeInterface>(Assembly.GetExecutingAssembly()); var descendantLocator = new TypeLocator<SomeBaseClass>(Assembly.GetExecutingAssembly()); implementations = implementationLocator.FindAll(); descendants = descendantLocator.FindAll(); }