From 39ea34af1792a2c37c417326c7eb49a40c2bab18 Mon Sep 17 00:00:00 2001 From: Wyatt Miller Date: Sun, 16 Dec 2018 13:33:15 -0500 Subject: [PATCH] adding interop with f# --- .vs/DeskHubSharp/v15/.suo | Bin 240640 -> 233984 bytes .../DeskHubSharp.Models.fsproj | 11 +++++++++++ DeskHubSharp.Models/Email.fs | 6 ++++++ DeskHubSharp.Models/Library.fs | 5 +++++ DeskHubSharp.sln | 6 ++++++ 5 files changed, 28 insertions(+) create mode 100644 DeskHubSharp.Models/DeskHubSharp.Models.fsproj create mode 100644 DeskHubSharp.Models/Email.fs create mode 100644 DeskHubSharp.Models/Library.fs diff --git a/.vs/DeskHubSharp/v15/.suo b/.vs/DeskHubSharp/v15/.suo index 6c1210b8d1553413b349caa327ae7372fe80cba9..9ddf93fa57970e1bad26e71be484709305d0d963 100644 GIT binary patch delta 8534 zcmds62~?Cb-aG+wXn%-uGkvrN%s}8PE|rs1H>$Ns{IxJP`i;sv+=H=KvY(R9I-crt@rA z=7t}QlWOFd*YnMEGtu)~w4aplUe>Q(isW+&{K2H*L=lMH`ZI_mO}M21WO^cIAOu;5 z`CT`D7}h_>y2{Bfz93sU*>lbY&^jL{Olp*FI z-oQmwU|xz4{6{bkM+`U@TZH9&Cr|LB-O8d~>9(m_ELYvfub$-hV`F5-BZ3f*A{HV- z5OWb?r{0(cBU%vq5w(aq#1e!!(q)Kx#9ts15GxRk2ytqOn6E@MA+S2p?#w4ol!vQB z`ALu0H1_cq77E$rVGF11=H8QCznI`7A$v?>Ad!?<77O%s=7Kg0%LarWLexbPqRevE z#l$WV%1rzbq7-6u)!jvzjdT=c|0Gk$avH)VOIN2G=2B_Bs^Vxrl}YsFmfR%70V$U&?{%tZVrf5B@dSA^)4qJ;p@4QW@qDk-Q}sr;Px zLVpvM3K4=MC+mK76f0E?f+co4y69TM^q3+Y$W;Gyi=08)_nS)qQ;H z%^*L*L&8-Gp}|}m_8AWgSCR$XKRl2phlk0th#MylzAC(4B?_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B~$TD5MNv~IvLK<{-OgcV&Z*DVpWrJF(PkJvrAyGVZ0B!kYP(-)f} zMdmgGX%5G)^=7VhUQ@9in(vVbEi{rHje+&H*m0uw9cKeyg#|1{(`5+D@59+py(Zmo z7Z0#di;aUqJ#M3<)l&riT7edUS)tq={3NpXR-yntVwlv=+{CExq~qbq5;D}NQ;QfQW}c}AUR?odIx zW_2ywL_-z%(0Xd2Iow>5eE%g1>{vMCZkFebpK*@tXESNG+_+gy3+T|OtLG*%8|YE3 zI`Phl(Dt1kxP_*=-rGVq6%<*%o5qOkP5wVBGR$*XLzZjt)1;{0j`OX~uk9RpdhLS! z{mv+)Rp{U3*P)Ep?3yL%vO<~iK$V)@aRO2`tLxpJ6s2N9wTZI4Ktb*5O22D&t$%^O zQD`PNn$~^6CH z_=u9_kw!B9xaxyWx~^}!rGObde`oH=q>s| z!IEmj-hYIG+c%3v9p>_%&9zPEu1#p4-S81jbdCO)t|&Ca(|pM}GPY}M;$6Gz$T?5R z1E0~v4i$ZdD^l`#TCLQ7M|ydBAtrM2QW`A>T%@kvfmB|+_dwV#i#E~8`UR@Rb#yHi zlDvFe36&3hLH~*+UH;U)&Int1$EPULvX{EZ3ty7y?v0OcY`xXxCfU4AS>S5UQO9+c zR}B>8a`#Zqk<0!xZOa3#!AzaUW?)>rHbv)m7G!_vK3ogw})tRJqX9s7Wv zR0jO5)egO|wcDYSOGI@t4he4|>e z + + + netstandard2.0 + + + + + + + diff --git a/DeskHubSharp.Models/Email.fs b/DeskHubSharp.Models/Email.fs new file mode 100644 index 0000000..e449798 --- /dev/null +++ b/DeskHubSharp.Models/Email.fs @@ -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" \ No newline at end of file diff --git a/DeskHubSharp.Models/Library.fs b/DeskHubSharp.Models/Library.fs new file mode 100644 index 0000000..ae75e1d --- /dev/null +++ b/DeskHubSharp.Models/Library.fs @@ -0,0 +1,5 @@ +namespace DeskHubSharp.Models + +module Say = + let hello name = + printfn "Hello %s" name diff --git a/DeskHubSharp.sln b/DeskHubSharp.sln index 71aee3c..1aeb579 100644 --- a/DeskHubSharp.sln +++ b/DeskHubSharp.sln @@ -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