From b35f4e87514812ae3eb1e6eb48303e55e0c6b155 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Fri, 1 Jul 2022 22:58:36 -0400 Subject: [PATCH] added fsharp library used for models --- ModelsLib/Email.fs | 16 ++++++++++++++++ ModelsLib/ModelsLib.fsproj | 26 ++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 ModelsLib/Email.fs create mode 100644 ModelsLib/ModelsLib.fsproj diff --git a/ModelsLib/Email.fs b/ModelsLib/Email.fs new file mode 100644 index 0000000..cb50bfa --- /dev/null +++ b/ModelsLib/Email.fs @@ -0,0 +1,16 @@ +namespace DeskHubSharpRevised.Models + +type Email() = + let mutable _toEmail: string = "wjmiller2016@gmail.com" + let mutable _fromEmail: string = "wjmiller2016@gmail.com" + let mutable _password: string = "password" + + member this.ToEmail + with get() = _toEmail + and set(value: string) = _toEmail <- value + member this.FromEmail + with get() = _fromEmail + and set(value: string) = _fromEmail <- value + member this.Password + with get() = _password + and set(value: string) = _password <- value \ No newline at end of file diff --git a/ModelsLib/ModelsLib.fsproj b/ModelsLib/ModelsLib.fsproj new file mode 100644 index 0000000..bdfff38 --- /dev/null +++ b/ModelsLib/ModelsLib.fsproj @@ -0,0 +1,26 @@ + + + + net6.0 + true + DeskHubSharpRevised.Models + + + + + + + + + + + + + + + + + +