added fsharp library
used for models
This commit is contained in:
parent
708f548112
commit
b35f4e8751
16
ModelsLib/Email.fs
Normal file
16
ModelsLib/Email.fs
Normal 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
|
26
ModelsLib/ModelsLib.fsproj
Normal file
26
ModelsLib/ModelsLib.fsproj
Normal 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>
|
Loading…
Reference in New Issue
Block a user