adding interop with f#
This commit is contained in:
parent
46c93b584f
commit
39ea34af17
Binary file not shown.
11
DeskHubSharp.Models/DeskHubSharp.Models.fsproj
Normal file
11
DeskHubSharp.Models/DeskHubSharp.Models.fsproj
Normal file
@ -0,0 +1,11 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="Library.fs" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
6
DeskHubSharp.Models/Email.fs
Normal file
6
DeskHubSharp.Models/Email.fs
Normal file
@ -0,0 +1,6 @@
|
||||
module Email
|
||||
|
||||
type EmailModel (fromEmail: string, toEmail: string, password: string) =
|
||||
member x.fromEmail = fromEmail
|
||||
member x.toEmail = toEmail
|
||||
member x.password = "password"
|
5
DeskHubSharp.Models/Library.fs
Normal file
5
DeskHubSharp.Models/Library.fs
Normal file
@ -0,0 +1,5 @@
|
||||
namespace DeskHubSharp.Models
|
||||
|
||||
module Say =
|
||||
let hello name =
|
||||
printfn "Hello %s" name
|
@ -5,6 +5,8 @@ VisualStudioVersion = 15.0.28010.2046
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeskHubSharp", "DeskHubSharp\DeskHubSharp.csproj", "{BB23F915-21F5-4201-9021-0BE824660DBC}"
|
||||
EndProject
|
||||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "DeskHubSharp.Models", "DeskHubSharp.Models\DeskHubSharp.Models.fsproj", "{AC090BDC-3D12-4F61-B4EE-145BADEB3AC6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@ -15,6 +17,10 @@ Global
|
||||
{BB23F915-21F5-4201-9021-0BE824660DBC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BB23F915-21F5-4201-9021-0BE824660DBC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BB23F915-21F5-4201-9021-0BE824660DBC}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{AC090BDC-3D12-4F61-B4EE-145BADEB3AC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{AC090BDC-3D12-4F61-B4EE-145BADEB3AC6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{AC090BDC-3D12-4F61-B4EE-145BADEB3AC6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{AC090BDC-3D12-4F61-B4EE-145BADEB3AC6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
Reference in New Issue
Block a user