예제 #1
0
        /// <summary>
        /// view 컨트롤에 동작에 필요한 클래스들을 di개념으로 설정
        /// <see cref="MovieManDtoFactory"/>
        /// <see cref="YunWebRequest"/>
        /// </summary>
        public static void SetUpDi(this MovieSearchModelView view)
        {
            var cvfactory = new MovieDtoFactory() as IDtoFactory <MovieDto>;

            view.IDtoFactory    = cvfactory;
            view.IYunWebRequest = new YunWebRequest();
        }
예제 #2
0
 public MovieSearchPage()
 {
     DataContext = new MovieSearchModelView();
     InitializeComponent();
 }