From 14fdc11684c7259dcf6af1e7d4698c95b62c627a Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sat, 2 Jul 2022 14:34:38 -0400 Subject: [PATCH] updated requestlist model --- ModelsLib/RequestList.fs | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/ModelsLib/RequestList.fs b/ModelsLib/RequestList.fs index d665074..25ee5b6 100644 --- a/ModelsLib/RequestList.fs +++ b/ModelsLib/RequestList.fs @@ -2,13 +2,10 @@ namespace DeskHubSharpRevised.Models open System.Collections.ObjectModel -type RequestList = - static member userDetail - with get(): obj = null - and set(value) = RequestList.userDetail <- value - static member branchDetail - with get(): ObservableCollection = null - and set(value: ObservableCollection) = RequestList.branchDetail <- value - static member repoDetail - with get(): ObservableCollection = null - and set(value: ObservableCollection) = RequestList.repoDetail <- value \ No newline at end of file +type RequestList() = + static member val userDetail = new User() + with get, set + static member val branchDetail = new ObservableCollection() + with get, set + static member val repoDetail = new ObservableCollection() + with get, set \ No newline at end of file