using System.Collections.Generic; namespace DesignPatterns.Adapter { public class Presenter { private readonly IView _view; public Presenter( IView view ) { _view = view; } public void Initialize( ) { IList< IDropDownListItem > items = new List< IDropDownListItem >( ); items.Add( new DropDownListItem( "Yes", "1" ) ); items.Add( new DropDownListItem( "No", "2" ) ); _view.AreYouHappy.BindTo( items ); } } }