これを処理する最良の方法は何ですか:
class Option {
int id;
string name;
}
class QuoteItem
{
IList<Option> options;
}
class QuoteViewModel {
IList<Option> allOptions;
QuoteItem quoteItem;
}
基本的に、利用可能なすべてのオプションが にありますallOptions。チェックされたときに別のOptionものをリストに入れるチェックボックスが必要です。どうすればこれを達成できますか? 事後にバインドするのが最善でしょうか?idQuoteItem.optionsIList<bool>