From 90959082a6f9a923b602938ca1c5a4b858978169 Mon Sep 17 00:00:00 2001 From: Marco Wende Date: Wed, 10 Jun 2026 21:57:52 +0200 Subject: [PATCH] Add AddonModel.ps1 --- MVVM/Models/AddonModel.ps1 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 MVVM/Models/AddonModel.ps1 diff --git a/MVVM/Models/AddonModel.ps1 b/MVVM/Models/AddonModel.ps1 new file mode 100644 index 0000000..5ad8998 --- /dev/null +++ b/MVVM/Models/AddonModel.ps1 @@ -0,0 +1,17 @@ +class AddonModel { + [string] $Name + [string] $Id + [string] $InstallUrl + [string] $StoreUrl + [string] $Description + [bool] $IsSelected + + AddonModel([string]$name, [string]$id, [string]$installUrl, [string]$storeUrl, [string]$description) { + $this.Name = $name + $this.Id = $id + $this.InstallUrl = $installUrl + $this.StoreUrl = $storeUrl + $this.Description= $description + $this.IsSelected = $false + } +}