AddAssembly() public méthode

public AddAssembly ( Assembly assembly ) : void
assembly System.Reflection.Assembly
Résultat void
		public void AddAssembly()
		{
			TypeManager manager = new TypeManager();
			manager.AddAssembly( Assembly.GetAssembly( typeof(TypeManagerTestCase) ) );

			Assert.IsNull( manager.ResolveType( "System.String" ) );
			Assert.AreEqual( typeof(TypeManagerTestCase), manager.ResolveType( "TypeManagerTestCase" ) );
		}