using Gestor.Model.Domain.Generic; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace Gestor.Model.Domain.Ferramentas { public class AgendaTelefone : TelefoneBase, IDomain { public Gestor.Model.Domain.Ferramentas.Agenda Agenda { get; set; } public string Observacao { get; set; } [JsonIgnore] public Func>> ValidationEvent { get { AgendaTelefone agendaTelefone = this; return new Func>>(agendaTelefone.Validate); } } public AgendaTelefone() { } public List> Validate() { return base.ValidateBase(true); } } }