blob: d1d88361f4bb734b98f55859dc004a93192d5e93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
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<Documento> _itens = new ObservableCollection<Documento>();
public ObservableCollection<Documento> Itens
{
get
{
return this._itens;
}
set
{
this._itens = value;
base.OnPropertyChanged("Itens");
}
}
public ProtocoloViewModel(List<Documento> itens)
{
this.Itens = new ObservableCollection<Documento>(itens);
}
}
}
|