コード例 #1
0
        private ObservableCollection <ArticleViewModel> bookmArtResults;// = ArticleCollection.GetBookmArtResults();

        /*
         * public ObservableCollection<ArticleViewModel> BookmArtResults
         * {
         *  get { return bookmArtResults; }
         *  set
         *  {
         *      if (bookmArtResults != value)
         *      {
         *          bookmArtResults = value;
         *          OnPropertyChanged("BookmArtResults");
         *      }
         *  }
         * }
         */
        public ObservableCollection <ArticleViewModel> BookmArtResultsCreate()
        {
            ObservableCollection <ArticleViewModel> bookmArtResult = ArticleCollection.GetBookmArtResults();

            return(bookmArtResult);
        }
コード例 #2
0
 public SearchViewModel()
 {
     articleCollection = new ArticleCollection();
 }