示例#1
0
        public QuoteManageViewModel(BaseViewModel parent)
        {
            this.parent = parent;

            // Get the list of all quotes
            quoteList = QuoteModel.getQuoteList();
            // gets the list of all deleted questions
            deletedQuoteList = QuoteModel.getDeletedQuoteList();

            // Keep a copy of the quoteList so that we can restore the list after filtering
            originalQuoteList = new ObservableCollection <QuoteModel>(quoteList);
        }