Language: C#
No Title
public class TypeLoaderTests { [Fact] public void Load_should_extract_public_types_from_assembly() { var assembly = CSharpAssemblyFactory.Compile( @" public class Foo { } public class Bar { } "); var typeLoader = new TypeLoader(); typeLoader.Load(assembly); var types = typeLoader.GetTypes(t => true); types.Count().ShouldEqual(2); } }
Report Abuse
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search

