Building example MVP ideas
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
using MVPLearning.Structure;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace MVPLearning.TestingArea.ModelProperties
|
||||||
|
{
|
||||||
|
internal class ModelPropertiesModel : ObservableObject
|
||||||
|
{
|
||||||
|
public string FirstName { get => _firstName; set => SetProperty(ref _firstName, value); }
|
||||||
|
private string _firstName = string.Empty;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
namespace MVPLearning.TestingArea.ViewProperties
|
||||||
|
{
|
||||||
|
internal class ViewPropertiesModel
|
||||||
|
{
|
||||||
|
public string FirstName { get; set; } = string.Empty;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user