using Gestor.Model.Domain.Seguros; using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace Gestor.Application.ViewModels.Generic { public class ProtocoloViewModel : BaseSegurosViewModel { private ObservableCollection _itens = new ObservableCollection(); public ObservableCollection Itens { get { return this._itens; } set { this._itens = value; base.OnPropertyChanged("Itens"); } } public ProtocoloViewModel(List itens) { this.Itens = new ObservableCollection(itens); } } }