AspectSharp.Lang.Steps.Types.Resolution.TypeManager.ResolveType C# (CSharp) Method

ResolveType() public method

public ResolveType ( String name ) : Type
name String
return System.Type
		public Type ResolveType( String name )
		{
			return Tree.ResolveType(name);
		}

Usage Example

Example #1
0
		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" ) );
		}
All Usage Examples Of AspectSharp.Lang.Steps.Types.Resolution.TypeManager::ResolveType