added fsharp library

used for models
This commit is contained in:
Wyatt J. Miller 2022-07-01 22:58:36 -04:00
parent 708f548112
commit b35f4e8751
2 changed files with 42 additions and 0 deletions

16
ModelsLib/Email.fs Normal file
View File

@ -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

View File

@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<RootNamespace>DeskHubSharpRevised.Models</RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Include="Branch.fs" />
<Compile Include="Email.fs" />
<Compile Include="License.fs" />
<Compile Include="Owner.fs" />
<Compile Include="RepoDetail.fs" />
<Compile Include="Search.fs" />
<Compile Include="RequestList.fs" />
<Compile Include="Sort.fs" />
<Compile Include="User.fs" />
<Content Include="README.md" />
</ItemGroup>
<!--ItemGroup>
<ProjectReference Include="..\DeskHubSharpRevised\DeskHubSharpRevised.csproj" />
</ItemGroup-->
</Project>