Skip to content

Instantly share code, notes, and snippets.

@TBertuzzi
Created November 3, 2020 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TBertuzzi/12c752e23d8e52c1a86d3f2279dec854 to your computer and use it in GitHub Desktop.
Save TBertuzzi/12c752e23d8e52c1a86d3f2279dec854 to your computer and use it in GitHub Desktop.
FluenteValidation
using System;
using MvvmHelpers;
namespace XamarinFluentValidation.Models
{
public class Pessoa : ObservableObject
{
private string _nome;
public string Nome
{
get => _nome;
set => SetProperty(ref _nome, value);
}
private string _email;
public string Email
{
get => _email;
set => SetProperty(ref _email, value);
}
private string _dataNascimento;
public string DataNascimento
{
get => _dataNascimento;
set => SetProperty(ref _dataNascimento, value);
}
private string _estado;
public string Estado
{
get => _estado;
set => SetProperty(ref _estado, value);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment