From c7aae249a8a328cc0dc8dcff9043bcdd83de7c52 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Tue, 14 Jan 2014 16:56:54 +0100 Subject: [PATCH 01/74] Inital docu --- .gitignore | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..19f3d98b --- /dev/null +++ b/.gitignore @@ -0,0 +1,176 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results + +[Dd]ebug/ +[Rr]elease/ +x64/ +build/ +[Bb]in/ +[Oo]bj/ + +# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets +!packages/*/build/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +*_i.c +*_p.c +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.log +*.scc + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +*.ncrunch* +.*crunch*.local.xml + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.Publish.xml + +# Enable nuget.exe in the .nuget folder (though normally executables are not tracked) +!.nuget/NuGet.exe + +# Windows Azure Build Output +csx +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.[Pp]ublish.xml +*.pfx +*.publishsettings + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file to a newer +# Visual Studio version. Backup files are not needed, because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +App_Data/*.mdf +App_Data/*.ldf + + +#LightSwitch generated files +GeneratedArtifacts/ +_Pvt_Extensions/ +ModelManifest.xml + +# ========================= +# Windows detritus +# ========================= + +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Mac desktop service store files +.DS_Store + +# =================================================== +# Exclude F# project specific directories and files +# =================================================== + +# NuGet Packages Directory +packages/ + +# Generated documentation folder +docs/output/ + +# Temp folder used for publishing docs +temp/ + +# Test results produced by build +TestResults.xml +release.cmd +nuget/ + +# Nuget outputs +nuget/*.nupkg From 34a43b6b48480e150c176936e139aa69dcbcbd84 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Tue, 14 Jan 2014 17:01:41 +0100 Subject: [PATCH 02/74] Update generated documentation for version 0.1.0-alpha --- .gitignore | 176 ----------------------------------------------------- 1 file changed, 176 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 19f3d98b..00000000 --- a/.gitignore +++ /dev/null @@ -1,176 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -# User-specific files -*.suo -*.user -*.sln.docstates - -# Build results - -[Dd]ebug/ -[Rr]elease/ -x64/ -build/ -[Bb]in/ -[Oo]bj/ - -# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets -!packages/*/build/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -*_i.c -*_p.c -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.log -*.scc - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opensdf -*.sdf -*.cachefile - -# Visual Studio profiler -*.psess -*.vsp -*.vspx - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# NCrunch -*.ncrunch* -.*crunch*.local.xml - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.Publish.xml - -# Enable nuget.exe in the .nuget folder (though normally executables are not tracked) -!.nuget/NuGet.exe - -# Windows Azure Build Output -csx -*.build.csdef - -# Windows Store app package directory -AppPackages/ - -# Others -sql/ -*.Cache -ClientBin/ -[Ss]tyle[Cc]op.* -~$* -*~ -*.dbmdl -*.[Pp]ublish.xml -*.pfx -*.publishsettings - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file to a newer -# Visual Studio version. Backup files are not needed, because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm - -# SQL Server files -App_Data/*.mdf -App_Data/*.ldf - - -#LightSwitch generated files -GeneratedArtifacts/ -_Pvt_Extensions/ -ModelManifest.xml - -# ========================= -# Windows detritus -# ========================= - -# Windows image file caches -Thumbs.db -ehthumbs.db - -# Folder config file -Desktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Mac desktop service store files -.DS_Store - -# =================================================== -# Exclude F# project specific directories and files -# =================================================== - -# NuGet Packages Directory -packages/ - -# Generated documentation folder -docs/output/ - -# Temp folder used for publishing docs -temp/ - -# Test results produced by build -TestResults.xml -release.cmd -nuget/ - -# Nuget outputs -nuget/*.nupkg From 755c3e97f1d2149eb9afc9c4e72be8525d23042f Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Tue, 14 Jan 2014 17:11:26 +0100 Subject: [PATCH 03/74] Update generated documentation for version 0.1.0-alpha --- AppSettingsProvider.html | 97 +++++++++ content/style.css | 188 ++++++++++++++++++ content/tips.js | 46 +++++ img/FileSystemProvider.png | Bin 0 -> 7563 bytes index.html | 127 ++++++++++++ ...eprovider-fsharpconfigurationprovider.html | 86 ++++++++ ...configuration-appsettingstypeprovider.html | 158 +++++++++++++++ reference/index.html | 104 ++++++++++ ...fsharp-providedtypes-providedassembly.html | 152 ++++++++++++++ ...ovidedtypes-typeproviderfornamespaces.html | 135 +++++++++++++ 10 files changed, 1093 insertions(+) create mode 100644 AppSettingsProvider.html create mode 100644 content/style.css create mode 100644 content/tips.js create mode 100644 img/FileSystemProvider.png create mode 100644 index.html create mode 100644 reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html create mode 100644 reference/fsharp-configuration-appsettingstypeprovider.html create mode 100644 reference/index.html create mode 100644 reference/samples-fsharp-providedtypes-providedassembly.html create mode 100644 reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html new file mode 100644 index 00000000..96d35075 --- /dev/null +++ b/AppSettingsProvider.html @@ -0,0 +1,97 @@ + + + + + The AppSettings type provider + + + + + + + + + + + + + + + + +
+ +
+
+
+ +

The AppSettings type provider

+ +

This tutorial shows the use of the AppSettings type provider. +It allows to access app.config files.

+ + + + +
+ 1: 
+ 2: 
+ 3: 
+ 4: 
+ 5: 
+ 6: 
+ 7: 
+ 8: 
+ 9: 
+10: 
+
+
+// reference the type provider dll
+#r "FSharp.Configuration.dll"
+#r "System.Configuration.dll"
+open FSharp.Configuration
+
+// Let the type provider do it's work
+type Settings = AppSettings<"app.config">
+
+Settings.Test2
+val it : string = "Some Test Value 5"
+
+ +
namespace FSharp
+
namespace FSharp.Configuration
+
type Settings = AppSettings<...>

Full name: AppSettingsProvider.Settings
+
type AppSettings

Full name: FSharp.Configuration.AppSettings
+
property AppSettings<...>.Test2: string


Returns the value from app.config with key test2
+ +
+ +
+
+ Fork me on GitHub + + diff --git a/content/style.css b/content/style.css new file mode 100644 index 00000000..c4f8259a --- /dev/null +++ b/content/style.css @@ -0,0 +1,188 @@ +@import url(http://fonts.googleapis.com/css?family=Droid+Sans|Droid+Sans+Mono|Gudea); + +/*-------------------------------------------------------------------------- + Formatting for F# code snippets +/*--------------------------------------------------------------------------*/ + +/* identifier */ +span.i { color:#d1d1d1; } +/* string */ +span.s { color:#d4b43c; } +/* keywords */ +span.k { color:#4e98dc; } +/* comment */ +span.c { color:#96C71D; } +/* operators */ +span.o { color:#af75c1; } +/* numbers */ +span.n { color:#96C71D; } +/* line number */ +span.l { color:#80b0b0; } + +/* inactive code */ +span.inactive { color:#808080; } +/* preprocessor */ +span.prep { color:#af75c1; } +/* fsi output */ +span.fsi { color:#808080; } + +/* omitted */ +span.omitted { + background:#3c4e52; + border-radius:5px; + color:#808080; + padding:0px 0px 1px 0px; +} +/* tool tip */ +div.tip { + background:#475b5f; + border-radius:4px; + font:11pt 'Droid Sans', arial, sans-serif; + padding:6px 8px 6px 8px; + display:none; + color:#d1d1d1; +} +table.pre pre { + padding:0px; + margin:0px; + border:none; +} +table.pre, pre.fssnip, pre { + line-height:13pt; + border:1px solid #d8d8d8; + border-collapse:separate; + white-space:pre; + font: 9pt 'Droid Sans Mono',consolas,monospace; + width:90%; + margin:10px 20px 20px 20px; + background-color:#212d30; + padding:10px; + border-radius:5px; + color:#d1d1d1; +} +table.pre pre { + padding:0px; + margin:0px; + border-radius:0px; + width: 100%; +} +table.pre td { + padding:0px; + white-space:normal; + margin:0px; +} +table.pre td.lines { + width:30px; +} + +/*-------------------------------------------------------------------------- + Formatting for page & standard document content +/*--------------------------------------------------------------------------*/ + +body { + font-family: Gudea, serif; + padding-top: 0px; + padding-bottom: 40px; +} + +pre { + word-wrap: inherit; +} + +/* Format the heading - nicer spacing etc. */ +.masthead { + overflow: hidden; +} +.masthead ul, .masthead li { + margin-bottom:0px; +} +.masthead .nav li { + margin-top: 15px; + font-size:110%; +} +.masthead h3 { + margin-bottom:5px; + font-size:170%; +} +hr { + margin:0px 0px 20px 0px; +} + +/* Make table headings and td.title bold */ +td.title, thead { + font-weight:bold; +} + +/* Format the right-side menu */ +#menu { + margin-top:50px; + font-size:11pt; + padding-left:20px; +} + +#menu .nav-header { + font-size:12pt; + color:#606060; + margin-top:20px; +} + +#menu li { + line-height:25px; +} + +/* Change font sizes for headings etc. */ +#main h1 { font-size: 26pt; margin:10px 0px 15px 0px; } +#main h2 { font-size: 20pt; margin:20px 0px 0px 0px; } +#main h3 { font-size: 14pt; margin:15px 0px 0px 0px; } +#main p { font-size: 12pt; margin:5px 0px 15px 0px; } +#main ul { font-size: 12pt; margin-top:10px; } +#main li { font-size: 12pt; margin: 5px 0px 5px 0px; } + +/*-------------------------------------------------------------------------- + Formatting for API reference +/*--------------------------------------------------------------------------*/ + +.type-list .type-name, .module-list .module-name { + width:25%; + font-weight:bold; +} +.member-list .member-name { + width:35%; +} +#main .xmldoc h2 { + font-size:14pt; + margin:10px 0px 0px 0px; +} +#main .xmldoc h3 { + font-size:12pt; + margin:10px 0px 0px 0px; +} +/*-------------------------------------------------------------------------- + Additional formatting for the homepage +/*--------------------------------------------------------------------------*/ + +#nuget { + margin-top:20px; + font-size: 11pt; + padding:20px; +} + +#nuget pre { + font-size:11pt; + -moz-border-radius: 0px; + -webkit-border-radius: 0px; + border-radius: 0px; + background: #404040; + border-style:none; + color: #e0e0e0; + margin-top:15px; +} + +/* Hide snippets on the home page snippet & nicely format table */ +#hp-snippet td.lines { + display: none; +} +#hp-snippet .table { + width:80%; + margin-left:30px; +} diff --git a/content/tips.js b/content/tips.js new file mode 100644 index 00000000..2b125bad --- /dev/null +++ b/content/tips.js @@ -0,0 +1,46 @@ +var currentTip = null; +var currentTipElement = null; + +function hideTip(evt, name, unique) { + var el = document.getElementById(name); + el.style.display = "none"; + currentTip = null; +} + +function findPos(obj) { + // no idea why, but it behaves differently in webbrowser component + if (window.location.search == "?inapp") + return [obj.offsetLeft + 10, obj.offsetTop + 30]; + + var curleft = 0; + var curtop = obj.offsetHeight; + while (obj) { + curleft += obj.offsetLeft; + curtop += obj.offsetTop; + obj = obj.offsetParent; + }; + return [curleft, curtop]; +} + +function hideUsingEsc(e) { + if (!e) { e = event; } + hideTip(e, currentTipElement, currentTip); +} + +function showTip(evt, name, unique, owner) { + document.onkeydown = hideUsingEsc; + if (currentTip == unique) return; + currentTip = unique; + currentTipElement = name; + + var pos = findPos(owner ? owner : (evt.srcElement ? evt.srcElement : evt.target)); + var posx = pos[0]; + var posy = pos[1]; + + var el = document.getElementById(name); + var parent = (document.documentElement == null) ? document.body : document.documentElement; + el.style.position = "absolute"; + el.style.left = posx + "px"; + el.style.top = posy + "px"; + el.style.display = "block"; +} \ No newline at end of file diff --git a/img/FileSystemProvider.png b/img/FileSystemProvider.png new file mode 100644 index 0000000000000000000000000000000000000000..65bc10fd967fef8605ab886951708022055f5a9e GIT binary patch literal 7563 zcmd^Ei9gieyQh&s3`tpMERm3%WE4i0A+j&Yz9dvLY3#C%6d^{1vX*5Ksf;BFktA7X zqOoQ-_GK(%nfuZA`+L3a>)!hx-1B;!nP<*<&NpC1`rsK`&dB0=R{M^Z{UmZo`r!9LwTpr9Poq53t@s_V0icB*q-ZAK%2qL*h&v* zhrwVB3@R!>Wl({^kPHm&Fc=C3L#qG+5(Pt|VJH*~jYh&??hFiv9fyJn5{5*=P)Hd1 zuLjbc!5sxdpyq6q{fj)+Vp zIcCs3(|@=V=%`96ny~5EOHWi`z#(CY?hFKXhDsES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@Zp zc93+mQ{hJb#IBxhd*J0@{&WbgmpMXVDmWv{lbkZQF6oBT)I|TCZ{r|Jz~mULJ` z{odb=*Jzb|UWQeV^sfk=^K^>W6A=A$RrM79b1b!L)<@vfm+6zWLnWl4bF;PEgvoqL z8zf)lJ%#-H(*duv!^GE5=+XKqvWE8)_qhF_UDQG5Ntf_5?<_o?oPfw)vi zZjm1IfzPLhOUc+Py$|WHEJVQtZ0|MR8JLhxr=>NR;Nvm5Gsi|_&hKS&a7Q^aTy)|X z$~gv*m9KPLv!iPU4Ua!47h-R@LUYZDQ(9@xMFN7(k3BO2$Y0{?-}|UeO+TF;?|)&b zgogb#EYVMv$V-*#4>jx&pjPte7!mI@8P1TFbm?v2xR;H*lHq1Id;!;kg zq4IXv9mbWjnwiIzqIAEeSj2S+`=l-aFW|1{g7(z+O-?x$eWX=;hOWR@hFOKKFc^fd z&VPnKlI0NfifJO>KVO8!M>M7^R9^t!HYc{Ud&+$kYC z;w^zWyK`CUC&U>1`v?@>-z%6|ZkfpO`QUQ7;p;MJ%+R8Q(3ahv{XHXQ+ZXc_R&kBj zF8jtUzT$Z}B1)w>c}K&CJ@p6aDPLIQ+X#dkL?|JCZcEJ-z!6xOJK5 z#MDe}k9l9!e3EVYnU%CL@#ngGDNlaL>wD%*O&Y~5GyP0d#5&_Tn`78W z`<6FIU*Qfvi%7O4MX|{$9k4!rJm&{P_s&2WCOZ0yMWXn5+ literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100644 index 00000000..f5c87a03 --- /dev/null +++ b/index.html @@ -0,0 +1,127 @@ + + + + + FSharp.Configuration + + + + + + + + + + + + + + + + +
+ +
+
+
+ +

FSharp.Configuration

+ +

The FSharp.Configuration project contains type providers for the configuration of .NET projects.

+ + + +
+
+
+
+ The library can be installed from NuGet: +
PM> Install-Package FSharp.Configuration
+
+
+
+
+ +

Example

+ +

This example demonstrates the use of the FileSystem type provider:

+ + + + +
+ 1: 
+ 2: 
+ 3: 
+ 4: 
+ 5: 
+ 6: 
+ 7: 
+ 8: 
+ 9: 
+10: 
+
+
+// reference the type provider dll
+#r "FSharp.Configuration.dll"
+#r "System.Configuration.dll"
+open FSharp.Configuration
+
+// Let the type provider do it's work
+type Settings = AppSettings<"app.config">
+
+Settings.Test2
+val it : string = "Some Test Value 5"
+
+ +

Contributing and copyright

+ +

The project is hosted on GitHub where you can report issues, fork +the project and submit pull requests. If you're adding new public API, please also +consider adding samples that can be turned into a documentation. You might +also want to read library design notes to understand how it works.

+ +

The library is available under Public Domain license, which allows modification and +redistribution for both commercial and non-commercial purposes. For more information see the +License file in the GitHub repository.

+ +
namespace FSharp
+
namespace FSharp.Configuration
+
type Settings = AppSettings<...>

Full name: Index.Settings
+
type AppSettings

Full name: FSharp.Configuration.AppSettings
+
property AppSettings<...>.Test2: string


Returns the value from app.config with key test2
+ +
+ +
+
+ Fork me on GitHub + + diff --git a/reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html new file mode 100644 index 00000000..e825817a --- /dev/null +++ b/reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html @@ -0,0 +1,86 @@ + + + + + FSharpConfigurationProvider - FSharp.Configuration + + + + + + + + + + + + + + + +
+ +
+
+
+ + + + +

FSharpConfigurationProvider

+
+
+

Constructors

+ + + + + + + + + + +
ConstructorDescription
+ + + new(cfg) + +
+ Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
+
+
+ +
+ +
+ +
+
+ Fork me on GitHub + + diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html new file mode 100644 index 00000000..8df36e85 --- /dev/null +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -0,0 +1,158 @@ + + + + + AppSettingsTypeProvider - FSharp.Configuration + + + + + + + + + + + + + + + +
+ +
+
+
+ + + + +

AppSettingsTypeProvider

+
+
+ + +

Nested types and modules

+
+ + + + + + + + + + +
TypeDescription
+ FSharpConfigurationProvider +
+ +
+ +

Functions and values

+ + + + + + + + + + +
Function or valueDescription
+ + + tryParseWith func + +
+ Signature:func:('?4972 -> bool * '?4973) -> '?4972 -> '?4973 option
+ Type parameters: '?4972, '?4973
+
+

Converts a function returning bool,value to a function returning value option. +Useful to process TryXX style functions.

+ +
+

Active patterns

+ + + + + + + + + + + + + + + + + + +
Active patternDescription
+ + + ( |Bool|_| ) + +
+ Signature:string -> bool option
+
+
+ +
+ + + ( |Double|_| ) text + +
+ Signature:text:string -> float option
+
+
+ +
+ + + ( |Int|_| ) + +
+ Signature:string -> int option
+
+
+ +
+ +
+ +
+
+ Fork me on GitHub + + diff --git a/reference/index.html b/reference/index.html new file mode 100644 index 00000000..9500608f --- /dev/null +++ b/reference/index.html @@ -0,0 +1,104 @@ + + + + + Namespaces - FSharp.Configuration + + + + + + + + + + + + + + + +
+ +
+
+
+ + +

FSharp.Configuration

+ +

FSharp.Configuration Namespace

+
+ + + + + + + + + + +
ModuleDescription
+ AppSettingsTypeProvider +
+ +
+

Samples.FSharp.ProvidedTypes Namespace

+
+ + + + + + + + + + + + + + +
TypeDescription
+ ProvidedAssembly +

A provided generated assembly

+
+ TypeProviderForNamespaces +

A base type providing default implementations of type provider functionality when all provided +types are of type ProvidedTypeDefinition.

+
+ +
+ +
+ +
+
+ Fork me on GitHub + + diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html new file mode 100644 index 00000000..05d0e4c4 --- /dev/null +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -0,0 +1,152 @@ + + + + + ProvidedAssembly - FSharp.Configuration + + + + + + + + + + + + + + + +
+ +
+
+
+ + + + +

ProvidedAssembly

+
+

A provided generated assembly

+
+

Constructors

+ + + + + + + + + + +
ConstructorDescription
+ + + new(assemblyFileName) + +
+ Signature:assemblyFileName:string -> ProvidedAssembly
+
+
+ +
+

Instance members

+ + + + + + + + + + + + + + +
Instance memberDescription
+ + + AddNestedTypes(...) + +
+ Signature:(types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
+
+
+ +
+ + + AddTypes(types) + +
+ Signature:(types:ProvidedTypeDefinition list) -> unit
+
+
+

Emit the given provided type definitions as part of the assembly +and adjust the 'Assembly' property of all provided type definitions to return that +assembly.

+ +

The assembly is only emitted when the Assembly property on the root type is accessed for the first time. +The host F# compiler does this when processing a generative type declaration for the type.

+ +
+

Static members

+ + + + + + + + + + +
Static memberDescription
+ + + RegisterGenerated(fileName) + +
+ Signature:fileName:string -> Assembly
+
+
+

Register that a given file is a provided generated assembly

+ +
+ +
+ +
+
+ Fork me on GitHub + + diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html new file mode 100644 index 00000000..4eac7a51 --- /dev/null +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -0,0 +1,135 @@ + + + + + TypeProviderForNamespaces - FSharp.Configuration + + + + + + + + + + + + + + + +
+ +
+
+
+ + + + +

TypeProviderForNamespaces

+
+

A base type providing default implementations of type provider functionality when all provided +types are of type ProvidedTypeDefinition.

+
+

Instance members

+ + + + + + + + + + + + + + + + + + + + + + +
Instance memberDescription
+ + + Invalidate() + +
+ Signature:unit -> unit
+
+
+

Invalidate the information provided by the provider

+ +
+ + + RegisterProbingFolder(folder) + +
+ Signature:folder:string -> unit
+
+
+

Registers custom probing path that can be used for probing assemblies

+ +
+ + + RegisterRuntimeAssemblyLocationAsProbingFolder(...) + +
+ Signature:cfg:TypeProviderConfig -> unit
+
+
+

Registers location of RuntimeAssembly (from TypeProviderConfig) as probing folder

+ +
+ + + ResolveAssembly(arg1) + +
+ Signature:ResolveEventArgs -> Assembly
+ Modifiers: abstract
+
+
+

AssemblyResolve handler. Default implementation searches .dll file in registered folders

+ +
+ +
+ +
+
+ Fork me on GitHub + + From 28d74d7081d0f37439c2b612dc698386edfa478d Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Tue, 14 Jan 2014 17:18:24 +0100 Subject: [PATCH 04/74] Update generated documentation for version 0.1.0-alpha --- AppSettingsProvider.html | 6 +----- index.html | 9 ++------- ...settingstypeprovider-fsharpconfigurationprovider.html | 6 +----- .../fsharp-configuration-appsettingstypeprovider.html | 6 +----- reference/index.html | 6 +----- .../samples-fsharp-providedtypes-providedassembly.html | 6 +----- ...s-fsharp-providedtypes-typeproviderfornamespaces.html | 6 +----- 7 files changed, 8 insertions(+), 37 deletions(-) diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html index 96d35075..bbc9fb94 100644 --- a/AppSettingsProvider.html +++ b/AppSettingsProvider.html @@ -84,11 +84,7 @@

The AppSettings type provider

  • Release Notes
  • -
  • FileSystemProvider
  • -
  • RegistryProvider
  • -
  • WMIProvider
  • -
  • PowerShellProvider
  • - +
  • AppSettingsProvider
  • diff --git a/index.html b/index.html index f5c87a03..8d224a85 100644 --- a/index.html +++ b/index.html @@ -38,8 +38,7 @@

    FSharp.Configuration

    The FSharp.Configuration project contains type providers for the configuration of .NET projects.

    @@ -114,11 +113,7 @@

    Contributing and copyright

  • Release Notes
  • -
  • FileSystemProvider
  • -
  • RegistryProvider
  • -
  • WMIProvider
  • -
  • PowerShellProvider
  • - +
  • AppSettingsProvider
  • diff --git a/reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html index e825817a..dc49c0f5 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html @@ -73,11 +73,7 @@

    Constructors

  • Release Notes
  • -
  • FileSystemProvider
  • -
  • RegistryProvider
  • -
  • WMIProvider
  • -
  • PowerShellProvider
  • - +
  • AppSettingsProvider
  • diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html index 8df36e85..07b1b655 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -145,11 +145,7 @@

    Active patterns

  • Release Notes
  • -
  • FileSystemProvider
  • -
  • RegistryProvider
  • -
  • WMIProvider
  • -
  • PowerShellProvider
  • - +
  • AppSettingsProvider
  • diff --git a/reference/index.html b/reference/index.html index 9500608f..71f366e3 100644 --- a/reference/index.html +++ b/reference/index.html @@ -91,11 +91,7 @@

    Samples.FSharp.ProvidedTypes Namespace

  • Release Notes
  • -
  • FileSystemProvider
  • -
  • RegistryProvider
  • -
  • WMIProvider
  • -
  • PowerShellProvider
  • - +
  • AppSettingsProvider
  • diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 05d0e4c4..5e48f030 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -139,11 +139,7 @@

    Static members

  • Release Notes
  • -
  • FileSystemProvider
  • -
  • RegistryProvider
  • -
  • WMIProvider
  • -
  • PowerShellProvider
  • - +
  • AppSettingsProvider
  • diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 4eac7a51..f9196ac1 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -122,11 +122,7 @@

    Instance members

  • Release Notes
  • -
  • FileSystemProvider
  • -
  • RegistryProvider
  • -
  • WMIProvider
  • -
  • PowerShellProvider
  • - +
  • AppSettingsProvider
  • From 94e291b7a09be9043a746bb883d5b5b9ec515108 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Tue, 14 Jan 2014 17:19:43 +0100 Subject: [PATCH 05/74] Update generated documentation for version 0.1.0-alpha --- ...n-appsettingstypeprovider-fsharpconfigurationprovider.html | 4 ++-- reference/samples-fsharp-providedtypes-providedassembly.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html index dc49c0f5..a8159e6e 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 5e48f030..2b373e8a 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -48,10 +48,10 @@

    Constructors

    - + new(assemblyFileName) -
    +
    Signature:assemblyFileName:string -> ProvidedAssembly
    From 366947d546e97d080f1ac944001b47fadfa4695c Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Tue, 14 Jan 2014 18:43:56 +0100 Subject: [PATCH 06/74] Update generated documentation for version 0.1.0-alpha --- ResXProvider.html | 87 +++++++++++++++++++ index.html | 1 + ...provider-fsharpconfigurationprovider.html} | 4 +- ...arp-configuration-configtypeprovider.html} | 80 +---------------- reference/index.html | 2 +- ...fsharp-providedtypes-providedassembly.html | 16 ++-- ...ovidedtypes-typeproviderfornamespaces.html | 16 ++-- 7 files changed, 110 insertions(+), 96 deletions(-) create mode 100644 ResXProvider.html rename reference/{fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html => fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html} (96%) rename reference/{fsharp-configuration-appsettingstypeprovider.html => fsharp-configuration-configtypeprovider.html} (55%) diff --git a/ResXProvider.html b/ResXProvider.html new file mode 100644 index 00000000..d912203b --- /dev/null +++ b/ResXProvider.html @@ -0,0 +1,87 @@ + + + + + The ResX type provider + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + +

    The ResX type provider

    + +

    This tutorial shows the use of the ResX type provider. +It allows to access .resx files.

    + + + + +
    +1: 
    +2: 
    +3: 
    +4: 
    +5: 
    +6: 
    +7: 
    +8: 
    +9: 
    +
    +
    +// reference the type provider dll
    +#r "System.Configuration.dll"
    +open FSharp.Configuration
    +
    +// Let the type provider do it's work
    +type ResX = ResXProvider<file="Resource1.resx">
    +
    +ResX.Resource1.HelloWorld
    +val it : string = "Hello World"
    +
    + +
    type ResX = obj

    Full name: ResXProvider.ResX
    + +
    +
    +
    +
    +
    + Fork me on GitHub + + diff --git a/index.html b/index.html index 8d224a85..f6999d7e 100644 --- a/index.html +++ b/index.html @@ -39,6 +39,7 @@

    FSharp.Configuration

    diff --git a/reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html similarity index 96% rename from reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html rename to reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index a8159e6e..ce10a2f7 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-configtypeprovider.html similarity index 55% rename from reference/fsharp-configuration-appsettingstypeprovider.html rename to reference/fsharp-configuration-configtypeprovider.html index 07b1b655..39d751c9 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-configtypeprovider.html @@ -2,7 +2,7 @@ - AppSettingsTypeProvider - FSharp.Configuration + ConfigTypeProvider - FSharp.Configuration @@ -35,7 +35,7 @@

    FSharp.Configuratio -

    AppSettingsTypeProvider

    +

    ConfigTypeProvider

    @@ -49,7 +49,7 @@

    Nested types and modules

    -
    FSharpConfigurationProvider + FSharpConfigurationProvider @@ -58,80 +58,6 @@

    Nested types and modules

    -

    Functions and values

    - - - - - - - - - - -
    Function or valueDescription
    - - - tryParseWith func - -
    - Signature:func:('?4972 -> bool * '?4973) -> '?4972 -> '?4973 option
    - Type parameters: '?4972, '?4973
    -
    -

    Converts a function returning bool,value to a function returning value option. -Useful to process TryXX style functions.

    - -
    -

    Active patterns

    - - - - - - - - - - - - - - - - - - -
    Active patternDescription
    - - - ( |Bool|_| ) - -
    - Signature:string -> bool option
    -
    -
    - -
    - - - ( |Double|_| ) text - -
    - Signature:text:string -> float option
    -
    -
    - -
    - - - ( |Int|_| ) - -
    - Signature:string -> int option
    -
    -
    - -
    diff --git a/reference/index.html b/reference/index.html index 71f366e3..60dea2e7 100644 --- a/reference/index.html +++ b/reference/index.html @@ -44,7 +44,7 @@

    FSharp.Configuration Namespace

    - AppSettingsTypeProvider + ConfigTypeProvider diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 2b373e8a..8a7005fe 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -48,10 +48,10 @@

    Constructors

    - + new(assemblyFileName) -
    +
    Signature:assemblyFileName:string -> ProvidedAssembly
    @@ -70,10 +70,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature:(types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    @@ -112,10 +112,10 @@

    Static members

    - + RegisterGenerated(fileName) -
    +
    Signature:fileName:string -> Assembly
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index f9196ac1..59c3ac1e 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature:unit -> unit
    @@ -64,10 +64,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature:folder:string -> unit
    @@ -79,10 +79,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature:cfg:TypeProviderConfig -> unit
    @@ -94,10 +94,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature:ResolveEventArgs -> Assembly
    Modifiers: abstract
    From 0d984b2981346f1e203ea884f594fe2b43b0f4a3 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Tue, 14 Jan 2014 18:45:28 +0100 Subject: [PATCH 07/74] Update generated documentation for version 0.1.0-alpha2 --- ...es-fsharp-providedtypes-providedassembly.html | 8 ++++---- ...-providedtypes-typeproviderfornamespaces.html | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 8a7005fe..8cf7d87a 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -70,10 +70,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature:(types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 59c3ac1e..2ab34f65 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature:unit -> unit
    @@ -64,10 +64,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature:folder:string -> unit
    @@ -79,10 +79,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature:cfg:TypeProviderConfig -> unit
    @@ -94,10 +94,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature:ResolveEventArgs -> Assembly
    Modifiers: abstract
    From fdbfbc7152356c4321da96aa79d090a334c23ea8 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Tue, 14 Jan 2014 18:46:19 +0100 Subject: [PATCH 08/74] Update generated documentation for version 0.1.0-alpha2 --- AppSettingsProvider.html | 1 + ResXProvider.html | 1 + index.html | 1 + ...ypeprovider-fsharpconfigurationprovider.html | 1 + ...fsharp-configuration-configtypeprovider.html | 1 + reference/index.html | 1 + ...s-fsharp-providedtypes-providedassembly.html | 9 +++++---- ...providedtypes-typeproviderfornamespaces.html | 17 +++++++++-------- 8 files changed, 20 insertions(+), 12 deletions(-) diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html index bbc9fb94..89c05c4f 100644 --- a/AppSettingsProvider.html +++ b/AppSettingsProvider.html @@ -85,6 +85,7 @@

    The AppSettings type provider

  • AppSettingsProvider
  • +
  • ResXProvider
  • diff --git a/ResXProvider.html b/ResXProvider.html index d912203b..11fc19fd 100644 --- a/ResXProvider.html +++ b/ResXProvider.html @@ -79,6 +79,7 @@

    The ResX type provider

  • AppSettingsProvider
  • +
  • ResXProvider
  • diff --git a/index.html b/index.html index f6999d7e..d18cae4c 100644 --- a/index.html +++ b/index.html @@ -115,6 +115,7 @@

    Contributing and copyright

  • AppSettingsProvider
  • +
  • ResXProvider
  • diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index ce10a2f7..2798ed02 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -74,6 +74,7 @@

    Constructors

  • AppSettingsProvider
  • +
  • ResXProvider
  • diff --git a/reference/fsharp-configuration-configtypeprovider.html b/reference/fsharp-configuration-configtypeprovider.html index 39d751c9..e3124028 100644 --- a/reference/fsharp-configuration-configtypeprovider.html +++ b/reference/fsharp-configuration-configtypeprovider.html @@ -72,6 +72,7 @@

    Nested types and modules

  • AppSettingsProvider
  • +
  • ResXProvider
  • diff --git a/reference/index.html b/reference/index.html index 60dea2e7..aa45f440 100644 --- a/reference/index.html +++ b/reference/index.html @@ -92,6 +92,7 @@

    Samples.FSharp.ProvidedTypes Namespace

  • AppSettingsProvider
  • +
  • ResXProvider
  • diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 8cf7d87a..4da84d05 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -70,10 +70,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature:(types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    @@ -140,6 +140,7 @@

    Static members

  • AppSettingsProvider
  • +
  • ResXProvider
  • diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 2ab34f65..8bb67956 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature:unit -> unit
    @@ -64,10 +64,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature:folder:string -> unit
    @@ -79,10 +79,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature:cfg:TypeProviderConfig -> unit
    @@ -94,10 +94,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature:ResolveEventArgs -> Assembly
    Modifiers: abstract
    @@ -123,6 +123,7 @@

    Instance members

  • AppSettingsProvider
  • +
  • ResXProvider
  • From 9fac9b7fd750a14dbcadf04c4754356cbce8bc67 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Tue, 14 Jan 2014 18:48:13 +0100 Subject: [PATCH 09/74] Update generated documentation for version 0.1.0-alpha2 --- ...ration-configtypeprovider-fsharpconfigurationprovider.html | 4 ++-- reference/samples-fsharp-providedtypes-providedassembly.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index 2798ed02..c065bdfd 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 4da84d05..82c7ffab 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -48,10 +48,10 @@

    Constructors

    - + new(assemblyFileName) -
    +
    Signature:assemblyFileName:string -> ProvidedAssembly
    From a807c6b119c2b2b5667bf822d98d7d9d8bb5f057 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 15 Jan 2014 10:04:36 +0100 Subject: [PATCH 10/74] Update generated documentation for version 0.1.0-alpha3 --- AppSettingsProvider.html | 1 + ResXProvider.html | 16 +- YamlProvider.html | 132 ++++++++++++ index.html | 1 + ...eprovider-fsharpconfigurationprovider.html | 5 +- ...harp-configuration-configtypeprovider.html | 1 + .../fsharp-configuration-parser-node.html | 112 ++++++++++ .../fsharp-configuration-parser-scalar.html | 184 ++++++++++++++++ reference/fsharp-configuration-parser.html | 124 +++++++++++ reference/fsharp-configuration-root.html | 198 ++++++++++++++++++ .../fsharp-configuration-typesfactory-t.html | 112 ++++++++++ .../fsharp-configuration-typesfactory.html | 182 ++++++++++++++++ .../fsharp-configuration-yamlprovider.html | 84 ++++++++ reference/index.html | 34 ++- ...fsharp-providedtypes-providedassembly.html | 17 +- ...ovidedtypes-typeproviderfornamespaces.html | 17 +- 16 files changed, 1196 insertions(+), 24 deletions(-) create mode 100644 YamlProvider.html create mode 100644 reference/fsharp-configuration-parser-node.html create mode 100644 reference/fsharp-configuration-parser-scalar.html create mode 100644 reference/fsharp-configuration-parser.html create mode 100644 reference/fsharp-configuration-root.html create mode 100644 reference/fsharp-configuration-typesfactory-t.html create mode 100644 reference/fsharp-configuration-typesfactory.html create mode 100644 reference/fsharp-configuration-yamlprovider.html diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html index 89c05c4f..eace5177 100644 --- a/AppSettingsProvider.html +++ b/AppSettingsProvider.html @@ -86,6 +86,7 @@

    The AppSettings type provider

  • AppSettingsProvider
  • ResXProvider
  • +
  • YamlProvider
  • diff --git a/ResXProvider.html b/ResXProvider.html index 11fc19fd..bbf08104 100644 --- a/ResXProvider.html +++ b/ResXProvider.html @@ -52,19 +52,24 @@

    The ResX type provider

     // reference the type provider dll
    -#r "System.Configuration.dll"
    -open FSharp.Configuration
    +#r "FSharp.Configuration.dll"
    +open FSharp.Configuration
     
     // Let the type provider do it's work
    -type ResX = ResXProvider<file="Resource1.resx">
    +type ResX = ResXProvider<file="Resource1.resx">
     
    -ResX.Resource1.HelloWorld
    +ResX.Resource1.HelloWorld
     val it : string = "Hello World"
    -
    type ResX = obj

    Full name: ResXProvider.ResX
    +
    namespace FSharp
    +
    namespace FSharp.Configuration
    +
    type ResX = ResXProvider<...>

    Full name: ResXProvider.ResX
    +
    type ResXProvider

    Full name: FSharp.Configuration.ResXProvider
    +
    type Resource1 =
      static member HelloWorld : string

    Full name: FSharp.Configuration.ResXProvider,file="Resource1.resx".Resource1
    +
    property ResXProvider<...>.Resource1.HelloWorld: string


    Greetings
    @@ -80,6 +85,7 @@

    The ResX type provider

  • AppSettingsProvider
  • ResXProvider
  • +
  • YamlProvider
  • diff --git a/YamlProvider.html b/YamlProvider.html new file mode 100644 index 00000000..837e8a2c --- /dev/null +++ b/YamlProvider.html @@ -0,0 +1,132 @@ + + + + + The Yaml type provider + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + +

    The Yaml type provider

    + +

    This tutorial shows the use of the Yaml type provider.

    + +

    It's generated, hence the types can be used from any .NET language, not only from F# code.

    + +

    It can produce mutable properties for Scalars (leafs), which means the object tree can be loaded, modified and saved into the original file or a stream as Yaml text. Adding new properties is not supported, however lists can be replaced with new ones atomically. This is intentionally, see below.

    + +

    The main initial purpose for this is to be used as part of a statically typed application configuration system which would have a single master source of configuration structure - a Yaml file. Than any F#/C# project in a solution will able to use the generated read-only object graph.

    + +

    When you push a system into production, you can modify the configs with scripts written in F# in safe, statically checked way with full intellisense.

    + +

    Examples

    + +

    Using configuration from F# scripts

    + +

    Create a Settings.yaml file: +` +Mail: + Smtp: + Host: smtp.sample.com + Port: 443 + User: user1 + Password: pass1 + Pop3: + Host: pop3.sample.com + Port: 331 + User: user2 + Password: pass2 + CheckPeriod: 00:01:00 + ErrorNotificationRecipients: + - user1@sample.com + - user2@sample.com +DB: + ConnectionString: Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI; + NumberOfDeadlockRepeats: 5 + DefaultTimeout: 00:05:00`

    + + + + +
    + 1: 
    + 2: 
    + 3: 
    + 4: 
    + 5: 
    + 6: 
    + 7: 
    + 8: 
    + 9: 
    +10: 
    +11: 
    +
    +
    +// reference the type provider dll
    +#r "FSharp.Configuration.dll"
    +open FSharp.Configuration
    +
    +// Let the type provider do it's work
    +type Settings = Yaml<"Settings.yaml">
    +
    +let db = Settings.DB_Type()
    +db.ConnectionString
    +val it : string = 
    +  "Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI;"
    +
    + +
    namespace FSharp
    +
    namespace FSharp.Configuration
    +
    Multiple items
    type Settings =
      inherit Root
      new : unit -> Settings
      event Changed : EventHandler
      member DB : DB_Type
      member Mail : Mail_Type
      nested type DB_Type
      nested type Mail_Type

    Full name: YamlProvider.Settings

    --------------------
    Settings() : Settings
    +
    type Yaml =
      inherit Root

    Full name: FSharp.Configuration.Yaml


    <summary>Generate types for read/write access to a YAML file.</summary>
               <param name='FilePath'>Path to a YAML file.</param>
               <param name='ReadOnly'>Whether the resulting properties will be read-only or not.</param>
               <param name='YamlText'>Yaml as text. Mutually exclusive with FilePath parameter.</param>
    +
    val db : Settings.DB_Type

    Full name: YamlProvider.db
    +
    type DB_Type =
      new : unit -> DB_Type
      event Changed : EventHandler
      member ConnectionString : string with get, set
      member DefaultTimeout : TimeSpan with get, set
      member NumberOfDeadlockRepeats : int with get, set

    Full name: YamlProvider.Settings.DB_Type
    +
    property Settings.DB_Type.ConnectionString: string
    + +
    + +
    +
    + Fork me on GitHub + + diff --git a/index.html b/index.html index d18cae4c..4d2746f6 100644 --- a/index.html +++ b/index.html @@ -116,6 +116,7 @@

    Contributing and copyright

  • AppSettingsProvider
  • ResXProvider
  • +
  • YamlProvider
  • diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index c065bdfd..f62de0ab 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    @@ -75,6 +75,7 @@

    Constructors

  • AppSettingsProvider
  • ResXProvider
  • +
  • YamlProvider
  • diff --git a/reference/fsharp-configuration-configtypeprovider.html b/reference/fsharp-configuration-configtypeprovider.html index e3124028..f029dbbb 100644 --- a/reference/fsharp-configuration-configtypeprovider.html +++ b/reference/fsharp-configuration-configtypeprovider.html @@ -73,6 +73,7 @@

    Nested types and modules

  • AppSettingsProvider
  • ResXProvider
  • +
  • YamlProvider
  • diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html new file mode 100644 index 00000000..3ecffa24 --- /dev/null +++ b/reference/fsharp-configuration-parser-node.html @@ -0,0 +1,112 @@ + + + + + Node - FSharp.Configuration + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + +

    Node

    +
    +
    +

    Union Cases

    + + + + + + + + + + + + + + + + + + +
    Union CaseDescription
    + + + List + +
    + Signature:Node list
    +
    +
    + +
    + + + Map + +
    + Signature:(string * Node) list
    +
    +
    + +
    + + + Scalar + +
    + Signature:Scalar
    +
    +
    + +
    + +
    + +
    +
    + Fork me on GitHub + + diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html new file mode 100644 index 00000000..fdc13de5 --- /dev/null +++ b/reference/fsharp-configuration-parser-scalar.html @@ -0,0 +1,184 @@ + + + + + Scalar - FSharp.Configuration + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + +

    Scalar

    +
    +
    +

    Union Cases

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Union CaseDescription
    + + + Bool + +
    + Signature:bool
    +
    +
    + +
    + + + Int + +
    + Signature:int
    +
    +
    + +
    + + + String + +
    + Signature:string
    +
    +
    + +
    + + + TimeSpan + +
    + Signature:TimeSpan
    +
    +
    + +
    + + + Uri + +
    + Signature:Uri
    +
    +
    + +
    +

    Instance members

    + + + + + + + + + + +
    Instance memberDescription
    + + + UnderlyingType + +
    + Signature:Type
    +
    +
    + +
    +

    Static members

    + + + + + + + + + + +
    Static memberDescription
    + + + Parse(value) + +
    + Signature:value:string -> Scalar
    +
    +
    + +
    + +
    + +
    +
    + Fork me on GitHub + + diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html new file mode 100644 index 00000000..d122a231 --- /dev/null +++ b/reference/fsharp-configuration-parser.html @@ -0,0 +1,124 @@ + + + + + Parser - FSharp.Configuration + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + +

    Parser

    +
    +
    + + +

    Nested types and modules

    +
    + + + + + + + + + + + + + + +
    TypeDescription
    + Node +
    + Scalar +
    + +
    + +

    Functions and values

    + + + + + + + + + + + + + + +
    Function or valueDescription
    + + + parse + +
    + Signature:string -> Node
    +
    +
    + +
    + + + update target updater + +
    + Signature:target:'a -> updater:Node -> unit
    + Type parameters: 'a
    +
    + +
    + +
    + +
    +
    + Fork me on GitHub + + diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html new file mode 100644 index 00000000..1f923246 --- /dev/null +++ b/reference/fsharp-configuration-root.html @@ -0,0 +1,198 @@ + + + + + Root - FSharp.Configuration + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + +

    Root

    +
    +
    +

    Constructors

    + + + + + + + + + + +
    ConstructorDescription
    + + + new() + +
    + Signature:unit -> Root
    +
    +
    + +
    +

    Instance members

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Instance memberDescription
    + + + Load(filePath) + +
    + Signature:filePath:string -> unit
    +
    +
    +

    Load Yaml from a file and update itself with it.

    + +
    + + + Load(reader) + +
    + Signature:reader:TextReader -> unit
    +
    +
    +

    Load Yaml from a TextReader and update itself with it.

    + +
    + + + LoadAndWatch(filePath) + +
    + Signature:filePath:string -> IDisposable
    +
    +
    +

    Load Yaml from a file, update itself with it then start watching it for changes. +If it detects any change, it reloads the file.

    + +
    + + + LoadText(yamlText) + +
    + Signature:yamlText:string -> unit
    +
    +
    +

    Load Yaml text and update itself with it.

    + +
    + + + Save(filePath) + +
    + Signature:filePath:string -> unit
    +
    +
    +

    Saves content into a file.

    + +
    + + + Save(writer) + +
    + Signature:writer:TextWriter -> unit
    +
    +
    +

    Saves content into a TestWriter.

    + +
    + + + Save(stream) + +
    + Signature:stream:Stream -> unit
    +
    +
    +

    Saves content into a stream.

    + +
    + +
    + +
    +
    + Fork me on GitHub + + diff --git a/reference/fsharp-configuration-typesfactory-t.html b/reference/fsharp-configuration-typesfactory-t.html new file mode 100644 index 00000000..4843c654 --- /dev/null +++ b/reference/fsharp-configuration-typesfactory-t.html @@ -0,0 +1,112 @@ + + + + + T - FSharp.Configuration + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + +

    T

    +
    +
    +

    Record Fields

    + + + + + + + + + + + + + + + + + + +
    Record FieldDescription
    + + + Init + +
    + Signature:Expr -> Expr
    +
    +
    + +
    + + + MainType + +
    + Signature:Type option
    +
    +
    + +
    + + + Types + +
    + Signature:MemberInfo list
    +
    +
    + +
    + +
    + +
    +
    + Fork me on GitHub + + diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html new file mode 100644 index 00000000..0eeee004 --- /dev/null +++ b/reference/fsharp-configuration-typesfactory.html @@ -0,0 +1,182 @@ + + + + + TypesFactory - FSharp.Configuration + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + +

    TypesFactory

    +
    +
    + + +

    Nested types and modules

    +
    + + + + + + + + + + +
    TypeDescription
    + T +
    + +
    + +

    Functions and values

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Function or valueDescription
    + + + foldChildren readOnly children + +
    + Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    + Type parameters: '?4964
    +
    + +
    + + + transform readOnly name node + +
    + Signature:readOnly:bool -> name:string option -> node:Node -> T
    +
    +
    + +
    + + + transformList readOnly name children + +
    + Signature:readOnly:bool -> name:string -> children:Node list -> T
    +
    +
    + +
    + + + transformMap readOnly name children + +
    + Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    +
    +
    + +
    + + + transformScalar readOnly name node + +
    + Signature:readOnly:bool -> name:string -> node:Scalar -> T
    +
    +
    + +
    +

    Type extensions

    + + + + + + + + + + +
    Type extensionDescription
    + + + ToExpr() + +
    + Signature:unit -> Expr
    +
    +
    + +
    + +
    + +
    +
    + Fork me on GitHub + + diff --git a/reference/fsharp-configuration-yamlprovider.html b/reference/fsharp-configuration-yamlprovider.html new file mode 100644 index 00000000..172e96a6 --- /dev/null +++ b/reference/fsharp-configuration-yamlprovider.html @@ -0,0 +1,84 @@ + + + + + YamlProvider - FSharp.Configuration + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + +

    YamlProvider

    +
    +
    +

    Constructors

    + + + + + + + + + + +
    ConstructorDescription
    + + + new(cfg) + +
    + Signature:cfg:TypeProviderConfig -> YamlProvider
    +
    +
    + +
    + +
    + +
    +
    + Fork me on GitHub + + diff --git a/reference/index.html b/reference/index.html index aa45f440..9cebf08c 100644 --- a/reference/index.html +++ b/reference/index.html @@ -37,7 +37,26 @@

    FSharp.Configuration

    FSharp.Configuration Namespace

    - +
    + + + + + + + + + + + + + +
    TypeDescription
    + Root +
    + YamlProvider +
    + @@ -48,6 +67,18 @@

    FSharp.Configuration Namespace

    + + + + + + + +
    ModuleDescription
    + Parser +
    + TypesFactory +
    @@ -93,6 +124,7 @@

    Samples.FSharp.ProvidedTypes Namespace

  • AppSettingsProvider
  • ResXProvider
  • +
  • YamlProvider
  • diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 82c7ffab..b5b20e0b 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -48,10 +48,10 @@

    Constructors

    - + new(assemblyFileName) -
    +
    Signature:assemblyFileName:string -> ProvidedAssembly
    @@ -70,10 +70,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature:(types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    @@ -112,10 +112,10 @@

    Static members

    - + RegisterGenerated(fileName) -
    +
    Signature:fileName:string -> Assembly
    @@ -141,6 +141,7 @@

    Static members

  • AppSettingsProvider
  • ResXProvider
  • +
  • YamlProvider
  • diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 8bb67956..c51ecced 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature:unit -> unit
    @@ -64,10 +64,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature:folder:string -> unit
    @@ -79,10 +79,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature:cfg:TypeProviderConfig -> unit
    @@ -94,10 +94,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature:ResolveEventArgs -> Assembly
    Modifiers: abstract
    @@ -124,6 +124,7 @@

    Instance members

  • AppSettingsProvider
  • ResXProvider
  • +
  • YamlProvider
  • From faf7ddcf0be4cbbeb39d871d148f5605a8633ae0 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 15 Jan 2014 10:06:46 +0100 Subject: [PATCH 11/74] Update generated documentation for version 0.1.0-alpha3 --- YamlProvider.html | 18 +++++------ ...eprovider-fsharpconfigurationprovider.html | 4 +-- .../fsharp-configuration-parser-node.html | 8 ++--- .../fsharp-configuration-parser-scalar.html | 12 +++---- reference/fsharp-configuration-parser.html | 4 +-- reference/fsharp-configuration-root.html | 32 +++++++++---------- .../fsharp-configuration-typesfactory-t.html | 12 +++---- .../fsharp-configuration-typesfactory.html | 16 +++++----- ...fsharp-providedtypes-providedassembly.html | 4 +-- ...ovidedtypes-typeproviderfornamespaces.html | 4 +-- 10 files changed, 57 insertions(+), 57 deletions(-) diff --git a/YamlProvider.html b/YamlProvider.html index 837e8a2c..775360b8 100644 --- a/YamlProvider.html +++ b/YamlProvider.html @@ -49,27 +49,27 @@

    Examples

    Using configuration from F# scripts

    -

    Create a Settings.yaml file: -` -Mail: - Smtp: +

    Create a Settings.yaml file:

    + +
    Mail:
    +    Smtp:
         Host: smtp.sample.com
         Port: 443
         User: user1
         Password: pass1
    -  Pop3:
    +    Pop3:
         Host: pop3.sample.com
         Port: 331
         User: user2
         Password: pass2
         CheckPeriod: 00:01:00
    -  ErrorNotificationRecipients:
    +    ErrorNotificationRecipients:
         - user1@sample.com
         - user2@sample.com
     DB:
    -  ConnectionString: Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI;
    -  NumberOfDeadlockRepeats: 5
    -  DefaultTimeout: 00:05:00`

    + ConnectionString: Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI; + NumberOfDeadlockRepeats: 5 + DefaultTimeout: 00:05:00
    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index 3ecffa24..c7650039 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -61,10 +61,10 @@

    Union Cases

    @@ -75,10 +75,10 @@

    Union Cases

    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index fdc13de5..37f91613 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    @@ -125,10 +125,10 @@

    Instance members

    @@ -147,10 +147,10 @@

    Static members

    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index d122a231..69ecf543 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -87,10 +87,10 @@

    Functions and values

    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index 1f923246..bc511043 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    @@ -69,10 +69,10 @@

    Instance members

    @@ -84,10 +84,10 @@

    Instance members

    @@ -99,10 +99,10 @@

    Instance members

    @@ -115,10 +115,10 @@

    Instance members

    @@ -130,10 +130,10 @@

    Instance members

    @@ -145,10 +145,10 @@

    Instance members

    @@ -160,10 +160,10 @@

    Instance members

    diff --git a/reference/fsharp-configuration-typesfactory-t.html b/reference/fsharp-configuration-typesfactory-t.html index 4843c654..55a8ca01 100644 --- a/reference/fsharp-configuration-typesfactory-t.html +++ b/reference/fsharp-configuration-typesfactory-t.html @@ -47,10 +47,10 @@

    Record Fields

    @@ -61,10 +61,10 @@

    Record Fields

    @@ -75,10 +75,10 @@

    Record Fields

    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 0eeee004..026f818b 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -81,10 +81,10 @@

    Functions and values

    @@ -95,10 +95,10 @@

    Functions and values

    @@ -109,10 +109,10 @@

    Functions and values

    @@ -123,10 +123,10 @@

    Functions and values

    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index b5b20e0b..2aadcc68 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -84,10 +84,10 @@

    Instance members

    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index c51ecced..cd1844c0 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    From 35f96d284df44739c05d1e81f0e8b4ce94d38a00 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 15 Jan 2014 10:33:33 +0100 Subject: [PATCH 12/74] Update generated documentation for version 0.1.0-alpha3 --- YamlProvider.html | 33 ++++++++++++++----- ...eprovider-fsharpconfigurationprovider.html | 4 +-- .../fsharp-configuration-parser-node.html | 12 +++---- .../fsharp-configuration-parser-scalar.html | 24 +++++++------- reference/fsharp-configuration-root.html | 32 +++++++++--------- .../fsharp-configuration-typesfactory-t.html | 12 +++---- 6 files changed, 67 insertions(+), 50 deletions(-) diff --git a/YamlProvider.html b/YamlProvider.html index 775360b8..4dbee80a 100644 --- a/YamlProvider.html +++ b/YamlProvider.html @@ -41,12 +41,10 @@

    The Yaml type provider

    It can produce mutable properties for Scalars (leafs), which means the object tree can be loaded, modified and saved into the original file or a stream as Yaml text. Adding new properties is not supported, however lists can be replaced with new ones atomically. This is intentionally, see below.

    -

    The main initial purpose for this is to be used as part of a statically typed application configuration system which would have a single master source of configuration structure - a Yaml file. Than any F#/C# project in a solution will able to use the generated read-only object graph.

    +

    The main purpose for this is to be used as part of a statically typed application configuration system which would have a single master source of configuration structure - a Yaml file. Then any F#/C# project in a solution will able to use the generated read-only object graph.

    When you push a system into production, you can modify the configs with scripts written in F# in safe, statically checked way with full intellisense.

    -

    Examples

    -

    Using configuration from F# scripts

    Create a Settings.yaml file:

    @@ -83,6 +81,15 @@

    Using configuration from F# scripts

    9: 10: 11: +12: +13: +14: +15: +16: +17: +18: +19: +20:
      1: 
    diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html
    index f62de0ab..d52c5b30 100644
    --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html
    +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html
    @@ -47,10 +47,10 @@ 

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    - + Map -
    +
    Signature:(string * Node) list
    - + Scalar -
    +
    Signature:Scalar
    - + Bool -
    +
    Signature:bool
    - + UnderlyingType -
    +
    Signature:Type
    - + Parse(value) -
    +
    Signature:value:string -> Scalar
    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    - + new() -
    +
    Signature:unit -> Root
    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    - + Init -
    +
    Signature:Expr -> Expr
    - + MainType -
    +
    Signature:Type option
    - + Types -
    +
    Signature:MemberInfo list
    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    - + Invalidate() -
    +
    Signature:unit -> unit
    @@ -92,11 +99,20 @@ 

    Using configuration from F# scripts

    // Let the type provider do it's work type Settings = Yaml<"Settings.yaml"> +let settings = Settings() -let db = Settings.DB_Type() -db.ConnectionString +// read a value from the config +settings.DB.ConnectionString val it : string = - "Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI;"
    + "Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI;" + +// change a value in the config +settings.DB.ConnectionString <- "Data Source=server2;" +settings.DB.ConnectionString +val it : string = "Data Source=server2;" + +// write the settings back to a yaml file +settings.Save(__SOURCE_DIRECTORY__ + @"\ChangedSettings.yaml")
    @@ -105,9 +121,10 @@

    Using configuration from F# scripts

    namespace FSharp.Configuration
    Multiple items
    type Settings =
      inherit Root
      new : unit -> Settings
      event Changed : EventHandler
      member DB : DB_Type
      member Mail : Mail_Type
      nested type DB_Type
      nested type Mail_Type

    Full name: YamlProvider.Settings

    --------------------
    Settings() : Settings
    type Yaml =
      inherit Root

    Full name: FSharp.Configuration.Yaml


    <summary>Generate types for read/write access to a YAML file.</summary>
               <param name='FilePath'>Path to a YAML file.</param>
               <param name='ReadOnly'>Whether the resulting properties will be read-only or not.</param>
               <param name='YamlText'>Yaml as text. Mutually exclusive with FilePath parameter.</param>
    -
    val db : Settings.DB_Type

    Full name: YamlProvider.db
    -
    type DB_Type =
      new : unit -> DB_Type
      event Changed : EventHandler
      member ConnectionString : string with get, set
      member DefaultTimeout : TimeSpan with get, set
      member NumberOfDeadlockRepeats : int with get, set

    Full name: YamlProvider.Settings.DB_Type
    +
    val settings : Settings

    Full name: YamlProvider.settings
    +
    property Settings.DB: Settings.DB_Type
    property Settings.DB_Type.ConnectionString: string
    +
    member Root.Save : filePath:string -> unit
    member Root.Save : writer:System.IO.TextWriter -> unit
    member Root.Save : stream:System.IO.Stream -> unit
    diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index d52c5b30..f62de0ab 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index c7650039..b343c681 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    - + List -
    +
    Signature:Node list
    @@ -61,10 +61,10 @@

    Union Cases

    - + Map -
    +
    Signature:(string * Node) list
    @@ -75,10 +75,10 @@

    Union Cases

    - + Scalar -
    +
    Signature:Scalar
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 37f91613..3b5f7fac 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    - + Bool -
    +
    Signature:bool
    @@ -61,10 +61,10 @@

    Union Cases

    - + Int -
    +
    Signature:int
    @@ -75,10 +75,10 @@

    Union Cases

    - + String -
    +
    Signature:string
    @@ -89,10 +89,10 @@

    Union Cases

    - + TimeSpan -
    +
    Signature:TimeSpan
    @@ -103,10 +103,10 @@

    Union Cases

    - + Uri -
    +
    Signature:Uri
    @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index bc511043..2649e4f2 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-typesfactory-t.html b/reference/fsharp-configuration-typesfactory-t.html index 55a8ca01..4843c654 100644 --- a/reference/fsharp-configuration-typesfactory-t.html +++ b/reference/fsharp-configuration-typesfactory-t.html @@ -47,10 +47,10 @@

    Record Fields

    - + Init -
    +
    Signature:Expr -> Expr
    @@ -61,10 +61,10 @@

    Record Fields

    - + MainType -
    +
    Signature:Type option
    @@ -75,10 +75,10 @@

    Record Fields

    - + Types -
    +
    Signature:MemberInfo list
    From d7b3234cb110a4e4bfa9ca2de669f9944472c7fa Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 15 Jan 2014 11:12:40 +0100 Subject: [PATCH 13/74] Update generated documentation for version 0.1.0-alpha3 --- ...eprovider-fsharpconfigurationprovider.html | 4 +-- .../fsharp-configuration-parser-scalar.html | 4 +-- reference/fsharp-configuration-parser.html | 8 ++--- reference/fsharp-configuration-root.html | 32 +++++++++---------- .../fsharp-configuration-typesfactory.html | 20 ++++++------ ...fsharp-providedtypes-providedassembly.html | 4 +-- ...ovidedtypes-typeproviderfornamespaces.html | 4 +-- 7 files changed, 38 insertions(+), 38 deletions(-) diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index f62de0ab..d6435e3c 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 3b5f7fac..d872179d 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index 69ecf543..3aa0e3c5 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    - + parse -
    +
    Signature:string -> Node
    @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index 2649e4f2..bb545707 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 026f818b..7cf860c0 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    @@ -81,10 +81,10 @@

    Functions and values

    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    @@ -95,10 +95,10 @@

    Functions and values

    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    @@ -109,10 +109,10 @@

    Functions and values

    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    @@ -123,10 +123,10 @@

    Functions and values

    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 2aadcc68..b5b20e0b 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -84,10 +84,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index cd1844c0..c51ecced 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature:unit -> unit
    From a657c9b3d766e5d6ca0884ff0d4bac93014d79a5 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 15 Jan 2014 13:27:28 +0100 Subject: [PATCH 14/74] Update generated documentation for version 0.1.0-alpha5 --- ...eprovider-fsharpconfigurationprovider.html | 4 +-- .../fsharp-configuration-parser-node.html | 12 +++---- .../fsharp-configuration-parser-scalar.html | 24 +++++++------- reference/fsharp-configuration-root.html | 32 +++++++++---------- 4 files changed, 36 insertions(+), 36 deletions(-) diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index d6435e3c..f62de0ab 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index b343c681..3ecffa24 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    - + List -
    +
    Signature:Node list
    @@ -61,10 +61,10 @@

    Union Cases

    - + Map -
    +
    Signature:(string * Node) list
    @@ -75,10 +75,10 @@

    Union Cases

    - + Scalar -
    +
    Signature:Scalar
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index d872179d..4b1e57df 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    - + Bool -
    +
    Signature:bool
    @@ -61,10 +61,10 @@

    Union Cases

    - + Int -
    +
    Signature:int
    @@ -75,10 +75,10 @@

    Union Cases

    - + String -
    +
    Signature:string
    @@ -89,10 +89,10 @@

    Union Cases

    - + TimeSpan -
    +
    Signature:TimeSpan
    @@ -103,10 +103,10 @@

    Union Cases

    - + Uri -
    +
    Signature:Uri
    @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index bb545707..2649e4f2 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    From 0b666080bb83ab6db371ab3ccefe239e1a9e9e68 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 15 Jan 2014 13:32:09 +0100 Subject: [PATCH 15/74] Update generated documentation for version 0.1.0-alpha5 --- index.html | 1 + .../fsharp-configuration-parser-node.html | 12 ++++---- .../fsharp-configuration-parser-scalar.html | 24 ++++++++-------- reference/fsharp-configuration-parser.html | 8 +++--- reference/fsharp-configuration-root.html | 28 +++++++++---------- .../fsharp-configuration-typesfactory.html | 20 ++++++------- ...fsharp-providedtypes-providedassembly.html | 8 +++--- ...ovidedtypes-typeproviderfornamespaces.html | 16 +++++------ 8 files changed, 59 insertions(+), 58 deletions(-) diff --git a/index.html b/index.html index 4d2746f6..dbe82ba9 100644 --- a/index.html +++ b/index.html @@ -40,6 +40,7 @@

    FSharp.Configuration

    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index 3ecffa24..490c9dab 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    - + List -
    +
    Signature:Node list
    @@ -61,10 +61,10 @@

    Union Cases

    - + Map -
    +
    Signature:(string * Node) list
    @@ -75,10 +75,10 @@

    Union Cases

    - + Scalar -
    +
    Signature:Scalar
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 4b1e57df..02d6be4c 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    - + Bool -
    +
    Signature:bool
    @@ -61,10 +61,10 @@

    Union Cases

    - + Int -
    +
    Signature:int
    @@ -75,10 +75,10 @@

    Union Cases

    - + String -
    +
    Signature:string
    @@ -89,10 +89,10 @@

    Union Cases

    - + TimeSpan -
    +
    Signature:TimeSpan
    @@ -103,10 +103,10 @@

    Union Cases

    - + Uri -
    +
    Signature:Uri
    @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index 3aa0e3c5..69ecf543 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    - + parse -
    +
    Signature:string -> Node
    @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index 2649e4f2..e0f0095b 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 7cf860c0..026f818b 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    @@ -81,10 +81,10 @@

    Functions and values

    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    @@ -95,10 +95,10 @@

    Functions and values

    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    @@ -109,10 +109,10 @@

    Functions and values

    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    @@ -123,10 +123,10 @@

    Functions and values

    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index b5b20e0b..0183566e 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -70,10 +70,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature:(types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index c51ecced..5b42b579 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature:unit -> unit
    @@ -64,10 +64,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature:folder:string -> unit
    @@ -79,10 +79,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature:cfg:TypeProviderConfig -> unit
    @@ -94,10 +94,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature:ResolveEventArgs -> Assembly
    Modifiers: abstract
    From 58c79e456ff5eb74dd45fa933b982b4a66fae7e8 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 15 Jan 2014 14:23:01 +0100 Subject: [PATCH 16/74] Update generated documentation for version 0.1.0 --- ...eprovider-fsharpconfigurationprovider.html | 4 +-- .../fsharp-configuration-parser-node.html | 4 +-- .../fsharp-configuration-parser-scalar.html | 20 ++++++------ reference/fsharp-configuration-parser.html | 8 ++--- reference/fsharp-configuration-root.html | 32 +++++++++---------- .../fsharp-configuration-typesfactory-t.html | 8 ++--- .../fsharp-configuration-typesfactory.html | 20 ++++++------ 7 files changed, 48 insertions(+), 48 deletions(-) diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index f62de0ab..d6435e3c 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index 490c9dab..b343c681 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    - + List -
    +
    Signature:Node list
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 02d6be4c..3b5f7fac 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -61,10 +61,10 @@

    Union Cases

    - + Int -
    +
    Signature:int
    @@ -75,10 +75,10 @@

    Union Cases

    - + String -
    +
    Signature:string
    @@ -89,10 +89,10 @@

    Union Cases

    - + TimeSpan -
    +
    Signature:TimeSpan
    @@ -103,10 +103,10 @@

    Union Cases

    - + Uri -
    +
    Signature:Uri
    @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index 69ecf543..3aa0e3c5 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    - + parse -
    +
    Signature:string -> Node
    @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index e0f0095b..e90d11f1 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-typesfactory-t.html b/reference/fsharp-configuration-typesfactory-t.html index 4843c654..7625e611 100644 --- a/reference/fsharp-configuration-typesfactory-t.html +++ b/reference/fsharp-configuration-typesfactory-t.html @@ -61,10 +61,10 @@

    Record Fields

    - + MainType -
    +
    Signature:Type option
    @@ -75,10 +75,10 @@

    Record Fields

    - + Types -
    +
    Signature:MemberInfo list
    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 026f818b..7cf860c0 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    @@ -81,10 +81,10 @@

    Functions and values

    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    @@ -95,10 +95,10 @@

    Functions and values

    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    @@ -109,10 +109,10 @@

    Functions and values

    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    @@ -123,10 +123,10 @@

    Functions and values

    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    From 74fe5891cf38746c60f1d2e665aeaa4f793e6b47 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 15 Jan 2014 15:20:11 +0100 Subject: [PATCH 17/74] Update generated documentation for version 0.1.0 --- YamlProvider.html | 22 +++++++++---------- reference/fsharp-configuration-parser.html | 8 +++---- reference/fsharp-configuration-root.html | 4 ++-- .../fsharp-configuration-typesfactory-t.html | 8 +++---- .../fsharp-configuration-typesfactory.html | 20 ++++++++--------- 5 files changed, 31 insertions(+), 31 deletions(-) diff --git a/YamlProvider.html b/YamlProvider.html index 4dbee80a..2035a2e5 100644 --- a/YamlProvider.html +++ b/YamlProvider.html @@ -51,19 +51,19 @@

    Using configuration from F# scripts

    Mail:
         Smtp:
    -    Host: smtp.sample.com
    -    Port: 443
    -    User: user1
    -    Password: pass1
    +        Host: smtp.sample.com
    +        Port: 443
    +        User: user1
    +        Password: pass1
         Pop3:
    -    Host: pop3.sample.com
    -    Port: 331
    -    User: user2
    -    Password: pass2
    -    CheckPeriod: 00:01:00
    +        Host: pop3.sample.com
    +        Port: 331
    +        User: user2
    +        Password: pass2
    +        CheckPeriod: 00:01:00
         ErrorNotificationRecipients:
    -    - user1@sample.com
    -    - user2@sample.com
    +        - user1@sample.com
    +        - user2@sample.com
     DB:
         ConnectionString: Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI;
         NumberOfDeadlockRepeats: 5
    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html
    index 3aa0e3c5..69ecf543 100644
    --- a/reference/fsharp-configuration-parser.html
    +++ b/reference/fsharp-configuration-parser.html
    @@ -73,10 +73,10 @@ 

    Functions and values

    - + parse -
    +
    Signature:string -> Node
    @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index e90d11f1..ae2e978e 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    diff --git a/reference/fsharp-configuration-typesfactory-t.html b/reference/fsharp-configuration-typesfactory-t.html index 7625e611..4843c654 100644 --- a/reference/fsharp-configuration-typesfactory-t.html +++ b/reference/fsharp-configuration-typesfactory-t.html @@ -61,10 +61,10 @@

    Record Fields

    - + MainType -
    +
    Signature:Type option
    @@ -75,10 +75,10 @@

    Record Fields

    - + Types -
    +
    Signature:MemberInfo list
    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 7cf860c0..026f818b 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    @@ -81,10 +81,10 @@

    Functions and values

    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    @@ -95,10 +95,10 @@

    Functions and values

    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    @@ -109,10 +109,10 @@

    Functions and values

    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    @@ -123,10 +123,10 @@

    Functions and values

    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    From 1c3269d0d7976631faad443a778ccf08309ddbc4 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 15 Jan 2014 16:36:49 +0100 Subject: [PATCH 18/74] Update generated documentation for version 0.1.0 --- YamlProvider.html | 16 +++++++++++++-- .../fsharp-configuration-parser-node.html | 12 +++++------ .../fsharp-configuration-parser-scalar.html | 20 +++++++++---------- reference/fsharp-configuration-parser.html | 8 ++++---- .../fsharp-configuration-typesfactory.html | 20 +++++++++---------- ...fsharp-providedtypes-providedassembly.html | 8 ++++---- ...ovidedtypes-typeproviderfornamespaces.html | 16 +++++++-------- 7 files changed, 56 insertions(+), 44 deletions(-) diff --git a/YamlProvider.html b/YamlProvider.html index 2035a2e5..5acbe046 100644 --- a/YamlProvider.html +++ b/YamlProvider.html @@ -47,7 +47,7 @@

    The Yaml type provider

    Using configuration from F# scripts

    -

    Create a Settings.yaml file:

    +

    Create a Settings.yaml file like this:

    Mail:
         Smtp:
    @@ -69,6 +69,8 @@ 

    Using configuration from F# scripts

    NumberOfDeadlockRepeats: 5 DefaultTimeout: 00:05:00
    +

    Reference the type provider assembly and configure it to use your yaml file:

    + @@ -61,10 +61,10 @@

    Union Cases

    @@ -75,10 +75,10 @@

    Union Cases

    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 3b5f7fac..4b1e57df 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    @@ -61,10 +61,10 @@

    Union Cases

    @@ -75,10 +75,10 @@

    Union Cases

    @@ -89,10 +89,10 @@

    Union Cases

    @@ -103,10 +103,10 @@

    Union Cases

    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index 69ecf543..3aa0e3c5 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    @@ -87,10 +87,10 @@

    Functions and values

    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 026f818b..7cf860c0 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    @@ -81,10 +81,10 @@

    Functions and values

    @@ -95,10 +95,10 @@

    Functions and values

    @@ -109,10 +109,10 @@

    Functions and values

    @@ -123,10 +123,10 @@

    Functions and values

    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 0183566e..b5b20e0b 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -70,10 +70,10 @@

    Instance members

    @@ -84,10 +84,10 @@

    Instance members

    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 5b42b579..c51ecced 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    @@ -64,10 +64,10 @@

    Instance members

    @@ -79,10 +79,10 @@

    Instance members

    @@ -94,10 +94,10 @@

    Instance members

    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index 3ecffa24..b343c681 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    @@ -61,10 +61,10 @@

    Union Cases

    @@ -75,10 +75,10 @@

    Union Cases

    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 4b1e57df..d872179d 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    @@ -61,10 +61,10 @@

    Union Cases

    @@ -75,10 +75,10 @@

    Union Cases

    @@ -89,10 +89,10 @@

    Union Cases

    @@ -103,10 +103,10 @@

    Union Cases

    @@ -125,10 +125,10 @@

    Instance members

    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index 3aa0e3c5..c6fd8a0f 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    @@ -87,10 +87,10 @@

    Functions and values

    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index ae2e978e..e0f0095b 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    @@ -69,10 +69,10 @@

    Instance members

    @@ -84,10 +84,10 @@

    Instance members

    @@ -99,10 +99,10 @@

    Instance members

    @@ -115,10 +115,10 @@

    Instance members

    @@ -130,10 +130,10 @@

    Instance members

    @@ -145,10 +145,10 @@

    Instance members

    @@ -160,10 +160,10 @@

    Instance members

    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 7cf860c0..a6f47a3d 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    @@ -81,10 +81,10 @@

    Functions and values

    @@ -95,10 +95,10 @@

    Functions and values

    @@ -109,10 +109,10 @@

    Functions and values

    @@ -123,10 +123,10 @@

    Functions and values

    From d8e2a4bd3ada81a05dcf9ca45a559ce879761b0c Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 15 Jan 2014 16:45:58 +0100 Subject: [PATCH 20/74] Update generated documentation for version 0.1.0 --- YamlProvider.html | 56 ++++++++----------- .../fsharp-configuration-parser-node.html | 12 ++-- .../fsharp-configuration-parser-scalar.html | 24 ++++---- reference/fsharp-configuration-parser.html | 8 +-- reference/fsharp-configuration-root.html | 28 +++++----- .../fsharp-configuration-typesfactory.html | 20 +++---- ...fsharp-providedtypes-providedassembly.html | 4 +- ...ovidedtypes-typeproviderfornamespaces.html | 4 +- 8 files changed, 74 insertions(+), 82 deletions(-) diff --git a/YamlProvider.html b/YamlProvider.html index 362ab6a6..81c7fb65 100644 --- a/YamlProvider.html +++ b/YamlProvider.html @@ -71,6 +71,30 @@

    Using configuration from F# scripts

    Reference the type provider assembly and configure it to use your yaml file:

    +
      1: 
      2: 
    @@ -90,10 +92,14 @@ 

    Using configuration from F# scripts

    18: 19: 20: +21: +22: +23: +24: +25:
    -// reference the type provider dll
     #r "FSharp.Configuration.dll"
     open FSharp.Configuration
     
    @@ -101,6 +107,12 @@ 

    Using configuration from F# scripts

    type Settings = Yaml<"Settings.yaml"> let settings = Settings() +(* +Reading and writing from the config +----------------------------------- + +*) + // read a value from the config settings.DB.ConnectionString val it : string = diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index b343c681..3ecffa24 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    - + List -
    +
    Signature:Node list
    - + Map -
    +
    Signature:(string * Node) list
    - + Scalar -
    +
    Signature:Scalar
    - + Bool -
    +
    Signature:bool
    - + Int -
    +
    Signature:int
    - + String -
    +
    Signature:string
    - + TimeSpan -
    +
    Signature:TimeSpan
    - + Uri -
    +
    Signature:Uri
    - + parse -
    +
    Signature:string -> Node
    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    - + AddNestedTypes(...) -
    +
    Signature:(types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    - + Invalidate() -
    +
    Signature:unit -> unit
    - + RegisterProbingFolder(folder) -
    +
    Signature:folder:string -> unit
    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature:cfg:TypeProviderConfig -> unit
    - + ResolveAssembly(arg1) -
    +
    Signature:ResolveEventArgs -> Assembly
    Modifiers: abstract
    From def40b228ef36e208dc08c9648753059396df397 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 15 Jan 2014 16:44:12 +0100 Subject: [PATCH 19/74] Update generated documentation for version 0.1.0 --- YamlProvider.html | 8 +++++ img/FileSystemProvider.png | Bin 7563 -> 0 bytes img/YamlProvider.png | Bin 0 -> 5571 bytes ...eprovider-fsharpconfigurationprovider.html | 4 +-- .../fsharp-configuration-parser-node.html | 12 +++---- .../fsharp-configuration-parser-scalar.html | 24 ++++++------- reference/fsharp-configuration-parser.html | 8 ++--- reference/fsharp-configuration-root.html | 32 +++++++++--------- .../fsharp-configuration-typesfactory.html | 20 +++++------ 9 files changed, 58 insertions(+), 50 deletions(-) delete mode 100644 img/FileSystemProvider.png create mode 100644 img/YamlProvider.png diff --git a/YamlProvider.html b/YamlProvider.html index 5acbe046..362ab6a6 100644 --- a/YamlProvider.html +++ b/YamlProvider.html @@ -97,6 +97,10 @@

    Using configuration from F# scripts

    23: 24: 25: +26: +27: +28: +29:
    @@ -108,6 +112,9 @@ 

    Using configuration from F# scripts

    let settings = Settings() (* + +![alt text](img/YamlProvider.png "Intellisense for Yaml") + Reading and writing from the config ----------------------------------- @@ -115,6 +122,7 @@

    Using configuration from F# scripts

    // read a value from the config settings.DB.ConnectionString + val it : string = "Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI;" diff --git a/img/FileSystemProvider.png b/img/FileSystemProvider.png deleted file mode 100644 index 65bc10fd967fef8605ab886951708022055f5a9e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7563 zcmd^Ei9gieyQh&s3`tpMERm3%WE4i0A+j&Yz9dvLY3#C%6d^{1vX*5Ksf;BFktA7X zqOoQ-_GK(%nfuZA`+L3a>)!hx-1B;!nP<*<&NpC1`rsK`&dB0=R{M^Z{UmZo`r!9LwTpr9Poq53t@s_V0icB*q-ZAK%2qL*h&v* zhrwVB3@R!>Wl({^kPHm&Fc=C3L#qG+5(Pt|VJH*~jYh&??hFiv9fyJn5{5*=P)Hd1 zuLjbc!5sxdpyq6q{fj)+Vp zIcCs3(|@=V=%`96ny~5EOHWi`z#(CY?hFKXhDsESfQA8+;*h9a1x32H_KrSs+t8Sf zL~dExZo0T{x_i+*JT}52fu(RbRB9@koTx&?A*q!pI>CLDfR2sJz*XW>38~Q;bX+Ah zm9SY*PR9`|E2)))O#*>VNdNHzMiotjG8j2@>~Qi+63Qo$-9Pzjrx1Uj8s ziQ6Qk5~-CW;1@ZOO2loFQmNF+znz4R&cV*^VG@ZnG&I!GL?`wC>Hj@3K%N{Nni?FQ z9vPh(8J#6ki7n&w7CN0srII!`$#nYSx6TF9Fnw@vespHMmrkV;H#bRiI(cShkutqR znOmh$*5(&hmX_AW>2&%yedVyMQ>oO=&CRXDvO`~`@6dK>v_1On?%v)$patOJ|5fQ{ z(iQ|Bm=%q@c8`Gp(tKDMzoGCRK%)Rg&kkdWx`7FF_48yfbM?N1k-MsAB@&=4rz)qY zXt1uM#=yY8WT=a<3UXS^dK>}$>i_NjOMyP|lZ9u_cb|U}%fup9DG`7qw;$!Vy0Uco ze)Z?~NLI5Kr;q|K3lqf!+2&-VYM$u6lDeB~K_fN{tZU44xCbuRf9&e%7+K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+R8Q(3ahv{XHXQ+ZXc_R&kBj zF8jtUzT$Z}B1)w>c}K&CJ@p6aDPLIQ+X#dkL?|JCZcEJ-z!6xOJK5 z#MDe}k9l9!e3EVYnU%CL@#ngGDNlaL>wD%*O&Y~5GyP0d#5&_Tn`78W z`<6FIU*Qfvi%7O4MX|{$9k4!rJm&{P_s&2WCOZ0yMWXn5+ diff --git a/img/YamlProvider.png b/img/YamlProvider.png new file mode 100644 index 0000000000000000000000000000000000000000..3f03ae78b1b30f5158e411a010654aab44b947ee GIT binary patch literal 5571 zcmb_AXH*kgx8Yh)1Q7+1Vz^3?q97220MbjS(gcJ=rB@RO%?1ckM2eCS0!k4=kz%L; z0wN+v2^a`cq=}SBlOQEQK$#crTkoxJz4fj4>pN@C%sIQCz4tkLW)iF{jd{3)xj-Ng zj|t4c1_b&G%^nkv9AMvLu_wmZ4~`%kV?7X&D!Ry?9Q4w)&;^02o*nz`atH)E0J1W- zGi1ZTU@!;-fv`IW0tUlCAU7}=1qKH|*aH{}3=06GP~d<77#QpZ0_`LA2M`z-1_PsD z;DCQ9U~V9{0B`^sq^qk7gTc(r&0(+r6uZMXH%1O%!D1PB89)dKni z0c5oR5(5J#yMahQ5ceH;NvCbBH#{ zVqkqZWKV_%1EeZK;cyul8JJoOmV~Xw;RvsCtE#G6T3V8mf#^&C zQ_IAXSk<_RLLz_}ti=wIY6sb{S`v#y0!Wy_!Q?SEoQWM`Mb7|*tw7-#P|IYJSS%6% zFl#X^5_T*ZXe9#x3Fzs`7-ZHCu}D(@85m1u4q{kCSYQIj0LV;c?LQoBCUQ?tPcLN-0Dv)IX{nC^OfZ>)EY{He9GIAynVFwoS^CacTwGjQTw7XNU;gov z!C0RG00sa6Gr-UNw!vgFSuEDpe%l7tfbE^#ot@vn?(Xm3f7n#)bp6jZ;qth8w#1_W zup2=j(DAnY&e4f_?al@Y2OByD+oC*!!(7lFAS)LiWU#!Yq21r1%JM4mii*Y?da5AM zNhuQpUAwzCSF#gZ_&tO=`#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cDbedyBuS-oytj%;E>S)UOsMfG=Lr+%HP@L`K4b z^M!Y!!jO`Q_h%wDR%91bj&Bdi$rb13bsX z7Gl?b$5rR}4?e1H6lPbi4|4eM^XitHdiN@8&u|=SlDqoncSDeq!P11mGsEHwIgu|9 zjR$S3rk>xXWnMhzz z9{p2thpzHvU-}&RRw-hM%F*@ynM!UW793$&+MDmyK>7SRFSE`fopZCBxbxN?@u7~9 zSuqv=VyE50CwEZ;nv@r{W02j(E@oErrNjAU9Q;wbIXk|PD=7YFE zE&Q1%mPlP$h_j8fHIQlyqWi)N)_9-0pOiC4^V;H<4PVqY1y409u5eJTP2BeVZ%6!@ zuz=2AjN0x(Dx~*+pUb$beyi7(g*ETW?a7M~`8JRwR?|1sz|fwCFbJW$I;6p;@>{G; z%jReI7vd2Eh*H$#T^A4GI_(b|H!b!B%CDcInejayfB#Rx7v4%(D9k{M$G@uQ6`wD= zZi}2dVMC^|U4Pb=D9Wz*(`h1-3*(A!`OKkh(*N`K<^TVJu`aO(c%RQN))cHaJ=p(! NWnyS)K-9Y({a;wl)3X2o literal 0 HcmV?d00001 diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index d6435e3c..f62de0ab 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    - + List -
    +
    Signature:Node list
    - + Map -
    +
    Signature:(string * Node) list
    - + Scalar -
    +
    Signature:Scalar
    - + Bool -
    +
    Signature:bool
    - + Int -
    +
    Signature:int
    - + String -
    +
    Signature:string
    - + TimeSpan -
    +
    Signature:TimeSpan
    - + Uri -
    +
    Signature:Uri
    - + UnderlyingType -
    +
    Signature:Type
    - + parse -
    +
    Signature:string -> Node
    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    - + new() -
    +
    Signature:unit -> Root
    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    + + +
    +1: 
    +2: 
    +3: 
    +4: 
    +5: 
    +6: 
    +
    +
    +#r "FSharp.Configuration.dll"
    +open FSharp.Configuration
    +
    +// Let the type provider do it's work
    +type Settings = Yaml<"Settings.yaml">
    +let settings = Settings()
    +
    + +

    alt text

    + +

    Reading and writing from the config

    + @@ -61,10 +61,10 @@

    Union Cases

    @@ -75,10 +75,10 @@

    Union Cases

    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index d872179d..4b1e57df 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    @@ -61,10 +61,10 @@

    Union Cases

    @@ -75,10 +75,10 @@

    Union Cases

    @@ -89,10 +89,10 @@

    Union Cases

    @@ -103,10 +103,10 @@

    Union Cases

    @@ -125,10 +125,10 @@

    Instance members

    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index c6fd8a0f..3aa0e3c5 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    @@ -87,10 +87,10 @@

    Functions and values

    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index e0f0095b..2649e4f2 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -69,10 +69,10 @@

    Instance members

    @@ -84,10 +84,10 @@

    Instance members

    @@ -99,10 +99,10 @@

    Instance members

    @@ -115,10 +115,10 @@

    Instance members

    @@ -130,10 +130,10 @@

    Instance members

    @@ -145,10 +145,10 @@

    Instance members

    @@ -160,10 +160,10 @@

    Instance members

    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index a6f47a3d..7cf860c0 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    @@ -81,10 +81,10 @@

    Functions and values

    @@ -95,10 +95,10 @@

    Functions and values

    @@ -109,10 +109,10 @@

    Functions and values

    @@ -123,10 +123,10 @@

    Functions and values

    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index b5b20e0b..2aadcc68 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -84,10 +84,10 @@

    Instance members

    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index c51ecced..cd1844c0 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    From 50844617764082f614d27b2831b3fa19d000d124 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 15 Jan 2014 18:04:04 +0100 Subject: [PATCH 21/74] Update generated documentation for version 0.1.0 --- AppSettingsProvider.html | 52 +++++++++++++----- YamlProvider.html | 2 +- img/AppSettingsProvider.png | Bin 0 -> 4570 bytes ...eprovider-fsharpconfigurationprovider.html | 4 +- .../fsharp-configuration-parser-node.html | 12 ++-- .../fsharp-configuration-parser-scalar.html | 24 ++++---- reference/fsharp-configuration-parser.html | 4 +- reference/fsharp-configuration-root.html | 32 +++++------ .../fsharp-configuration-typesfactory.html | 4 +- ...fsharp-providedtypes-providedassembly.html | 4 +- ...ovidedtypes-typeproviderfornamespaces.html | 4 +- 11 files changed, 83 insertions(+), 59 deletions(-) create mode 100644 img/AppSettingsProvider.png diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html index eace5177..3d98d54a 100644 --- a/AppSettingsProvider.html +++ b/AppSettingsProvider.html @@ -36,30 +36,54 @@

    FSharp.Configuratio

    The AppSettings type provider

    This tutorial shows the use of the AppSettings type provider. -It allows to access app.config files.

    +It allows to access app.config files in a strongly typed way.

    + +

    Using App.Settings from F# scripts

    + +

    Create a app.config file like this:

    + +
    <?xml version="1.0" encoding="utf-8" ?>
    +<configuration>
    +  <appSettings>
    +    <add key="test2" value="Some Test Value 5"/>
    +    <add key="TestInt" value="102"/>
    +    <add key="TestBool" value="True"/>
    +    <add key="TestDouble" value="10.01"/>
    +  </appSettings>
    +</configuration>
    + +

    Reference the type provider assembly and configure it to use your app.settings file:

      1: 
      2: 
    @@ -85,41 +109,9 @@ 

    Using configuration from F# scripts

    11: 12: 13: -14: -15: -16: -17: -18: -19: -20: -21: -22: -23: -24: -25: -26: -27: -28: -29:
    -#r "FSharp.Configuration.dll"
    -open FSharp.Configuration
    -
    -// Let the type provider do it's work
    -type Settings = Yaml<"Settings.yaml">
    -let settings = Settings()
    -
    -(*
    -
    -![alt text](img/YamlProvider.png "Intellisense for Yaml")
    -
    -Reading and writing from the config
    ------------------------------------
    -
    -*)
    -
     // read a value from the config
     settings.DB.ConnectionString
     
    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html
    index b343c681..3ecffa24 100644
    --- a/reference/fsharp-configuration-parser-node.html
    +++ b/reference/fsharp-configuration-parser-node.html
    @@ -47,10 +47,10 @@ 

    Union Cases

    - + List -
    +
    Signature:Node list
    - + Map -
    +
    Signature:(string * Node) list
    - + Scalar -
    +
    Signature:Scalar
    - + Bool -
    +
    Signature:bool
    - + Int -
    +
    Signature:int
    - + String -
    +
    Signature:string
    - + TimeSpan -
    +
    Signature:TimeSpan
    - + Uri -
    +
    Signature:Uri
    - + UnderlyingType -
    +
    Signature:Type
    - + parse -
    +
    Signature:string -> Node
    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    - + Invalidate() -
    +
    Signature:unit -> unit
    + +
    - 1: 
    - 2: 
    - 3: 
    - 4: 
    - 5: 
    - 6: 
    - 7: 
    - 8: 
    - 9: 
    -10: 
    +1: 
    +2: 
    +3: 
    +4: 
    +5: 
     
    -// reference the type provider dll
     #r "FSharp.Configuration.dll"
     #r "System.Configuration.dll"
     open FSharp.Configuration
     
    -// Let the type provider do it's work
    -type Settings = AppSettings<"app.config">
    +type Settings = AppSettings<"app.config">
    +
    +

    alt text

    + +

    Reading and writing from the config

    + + + diff --git a/YamlProvider.html b/YamlProvider.html index 81c7fb65..749df539 100644 --- a/YamlProvider.html +++ b/YamlProvider.html @@ -45,7 +45,7 @@

    The Yaml type provider

    When you push a system into production, you can modify the configs with scripts written in F# in safe, statically checked way with full intellisense.

    -

    Using configuration from F# scripts

    +

    Using Yaml type provdier from F# scripts

    Create a Settings.yaml file like this:

    diff --git a/img/AppSettingsProvider.png b/img/AppSettingsProvider.png new file mode 100644 index 0000000000000000000000000000000000000000..383b2e595d2e9a6ce7fae06edaeedfc473d38a6e GIT binary patch literal 4570 zcmcgvc|26__n(p_p{ObAB#Eq9hGfYyWDG?ZyRr;XlNpgwvWLPjW{jl`NePk3*ms4o z6Kbp>*?sshV|Rb!^Zow5|9$`cKCk=Sd(L^@=Q-y*uY1lt_qoLlV_t4yZV(8>YXUd4 z1c46GS@d%*HrCzNh2qD09P+a?HUJfNiO#W@BX{(#>w`eWiN|(b*+C#SkcFAG5laq% zKtLcUlr=$62m}rSxkDfr2m}jd5pXO7gMnbNa0tX51Uir&5KuS-4u@di5G>{Z0e1(v zV>r1VEtx1Wts& zNe~PXf+d06sSr#F1WN_E1MX0~I|zWoiEuaxj-_JZB&CRMD1Hcv2UODm)j~kE0f3W8 zn357Kl?o^J!$||~Q~*=Lz*3pceL#c~2oGgl&}=Z60tRP;VH7Yd8|*^?`w-y}synCz z1EFGB1oS@!8o=NkCFKS%tO4xP4Fiw+fB`+dt!wa26El_{8`ic=7k8%n9RP*GLxF4< znF1qc`&3Zff%PY0cs!Iy#E?kXAw0C34C^Ptm&q_j2?k&-SNJfg*r=!|GMSu~mWHR| zi6ul5l|&(vvokY_i;L^(>hO3VA{`)6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0`8aZl_c}=$u$0rw%EF~PxSzQgQC6xtJ9;UpqLEiKx kAl2Uf_m=bnA_q8Rm;nCmrEB~B;GfsT=!RjTflI{y0fcnVwg3PC literal 0 HcmV?d00001 diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index f62de0ab..d6435e3c 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index 3ecffa24..b343c681 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    @@ -61,10 +61,10 @@

    Union Cases

    @@ -75,10 +75,10 @@

    Union Cases

    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 4b1e57df..d872179d 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    @@ -61,10 +61,10 @@

    Union Cases

    @@ -75,10 +75,10 @@

    Union Cases

    @@ -89,10 +89,10 @@

    Union Cases

    @@ -103,10 +103,10 @@

    Union Cases

    @@ -125,10 +125,10 @@

    Instance members

    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index 3aa0e3c5..d122a231 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index 2649e4f2..bb545707 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    @@ -69,10 +69,10 @@

    Instance members

    @@ -84,10 +84,10 @@

    Instance members

    @@ -99,10 +99,10 @@

    Instance members

    @@ -115,10 +115,10 @@

    Instance members

    @@ -130,10 +130,10 @@

    Instance members

    @@ -145,10 +145,10 @@

    Instance members

    @@ -160,10 +160,10 @@

    Instance members

    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 7cf860c0..0eeee004 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 2aadcc68..b5b20e0b 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -84,10 +84,10 @@

    Instance members

    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index cd1844c0..c51ecced 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    From 56fb7733e39c550c2818de48e44ac89684792ece Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Thu, 16 Jan 2014 08:48:58 +0100 Subject: [PATCH 22/74] Update generated documentation for version 0.1.0 --- AppSettingsProvider.html | 2 +- index.html | 2 +- .../fsharp-configuration-parser-node.html | 12 +++++------ .../fsharp-configuration-parser-scalar.html | 20 +++++++++---------- reference/fsharp-configuration-parser.html | 4 ++-- .../fsharp-configuration-typesfactory.html | 16 +++++++-------- .../fsharp-configuration-yamlprovider.html | 4 ++-- ...fsharp-providedtypes-providedassembly.html | 4 ++-- 8 files changed, 32 insertions(+), 32 deletions(-) diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html index 3d98d54a..3b186362 100644 --- a/AppSettingsProvider.html +++ b/AppSettingsProvider.html @@ -40,7 +40,7 @@

    The AppSettings type provider

    Using App.Settings from F# scripts

    -

    Create a app.config file like this:

    +

    Create a config file called app.config like this:

    <?xml version="1.0" encoding="utf-8" ?>
     <configuration>
    diff --git a/index.html b/index.html
    index dbe82ba9..056a4b1a 100644
    --- a/index.html
    +++ b/index.html
    @@ -56,7 +56,7 @@ 

    FSharp.Configuration

    Example

    -

    This example demonstrates the use of the FileSystem type provider:

    +

    This example demonstrates the use of the AppSettings type provider:

    +1: 
    +2: 
    +3: 
    +
    +
    +// read a value from the config
     Settings.Test2
     val it : string = "Some Test Value 5"
    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    - + List -
    +
    Signature:Node list
    - + Map -
    +
    Signature:(string * Node) list
    - + Scalar -
    +
    Signature:Scalar
    - + Bool -
    +
    Signature:bool
    - + Int -
    +
    Signature:int
    - + String -
    +
    Signature:string
    - + TimeSpan -
    +
    Signature:TimeSpan
    - + Uri -
    +
    Signature:Uri
    - + UnderlyingType -
    +
    Signature:Type
    - + parse -
    +
    Signature:string -> Node
    - + new() -
    +
    Signature:unit -> Root
    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    - + Invalidate() -
    +
    Signature:unit -> unit
    @@ -61,10 +61,10 @@

    Union Cases

    @@ -75,10 +75,10 @@

    Union Cases

    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index d872179d..590eb3cf 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    @@ -61,10 +61,10 @@

    Union Cases

    @@ -75,10 +75,10 @@

    Union Cases

    @@ -89,10 +89,10 @@

    Union Cases

    @@ -103,10 +103,10 @@

    Union Cases

    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index d122a231..69ecf543 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -87,10 +87,10 @@

    Functions and values

    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 0eeee004..026f818b 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -81,10 +81,10 @@

    Functions and values

    @@ -95,10 +95,10 @@

    Functions and values

    @@ -109,10 +109,10 @@

    Functions and values

    @@ -123,10 +123,10 @@

    Functions and values

    diff --git a/reference/fsharp-configuration-yamlprovider.html b/reference/fsharp-configuration-yamlprovider.html index 172e96a6..7e24ffc1 100644 --- a/reference/fsharp-configuration-yamlprovider.html +++ b/reference/fsharp-configuration-yamlprovider.html @@ -47,10 +47,10 @@

    Constructors

    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index b5b20e0b..3eba6b4c 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -48,10 +48,10 @@

    Constructors

    From 6de72720c0a64b0baa5cc22b552cb1070015875f Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Thu, 16 Jan 2014 09:03:32 +0100 Subject: [PATCH 23/74] Update generated documentation for version 0.1.0 --- AppSettingsProvider.html | 2 ++ YamlProvider.html | 2 +- index.html | 2 ++ ...eprovider-fsharpconfigurationprovider.html | 4 +-- .../fsharp-configuration-parser-scalar.html | 4 +-- reference/fsharp-configuration-parser.html | 8 +++--- reference/fsharp-configuration-root.html | 28 +++++++++---------- .../fsharp-configuration-typesfactory.html | 20 ++++++------- .../fsharp-configuration-yamlprovider.html | 4 +-- ...fsharp-providedtypes-providedassembly.html | 4 +-- 10 files changed, 41 insertions(+), 37 deletions(-) diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html index 3b186362..4e58cc83 100644 --- a/AppSettingsProvider.html +++ b/AppSettingsProvider.html @@ -72,6 +72,8 @@

    Using App.Settings from F# scripts

      1: 
    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html
    index b343c681..3ecffa24 100644
    --- a/reference/fsharp-configuration-parser-node.html
    +++ b/reference/fsharp-configuration-parser-node.html
    @@ -47,10 +47,10 @@ 

    Union Cases

    - + List -
    +
    Signature:Node list
    - + Map -
    +
    Signature:(string * Node) list
    - + Scalar -
    +
    Signature:Scalar
    - + Bool -
    +
    Signature:bool
    - + Int -
    +
    Signature:int
    - + String -
    +
    Signature:string
    - + TimeSpan -
    +
    Signature:TimeSpan
    - + Uri -
    +
    Signature:Uri
    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> YamlProvider
    - + new(assemblyFileName) -
    +
    Signature:assemblyFileName:string -> ProvidedAssembly
    +

    Now you have typed access to your app.config files:

    +

    alt text

    Reading and writing from the config

    diff --git a/YamlProvider.html b/YamlProvider.html index 749df539..7def735c 100644 --- a/YamlProvider.html +++ b/YamlProvider.html @@ -45,7 +45,7 @@

    The Yaml type provider

    When you push a system into production, you can modify the configs with scripts written in F# in safe, statically checked way with full intellisense.

    -

    Using Yaml type provdier from F# scripts

    +

    Using Yaml type provider from F# scripts

    Create a Settings.yaml file like this:

    diff --git a/index.html b/index.html index 056a4b1a..5a6a8624 100644 --- a/index.html +++ b/index.html @@ -86,6 +86,8 @@

    Example

    +

    alt text

    +

    Contributing and copyright

    The project is hosted on GitHub where you can report issues, fork diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index d6435e3c..70162534 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 590eb3cf..4b1e57df 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index 69ecf543..3aa0e3c5 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    - + parse -
    +
    Signature:string -> Node
    @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index bb545707..31b135a8 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 026f818b..7cf860c0 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    @@ -81,10 +81,10 @@

    Functions and values

    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    @@ -95,10 +95,10 @@

    Functions and values

    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    @@ -109,10 +109,10 @@

    Functions and values

    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    @@ -123,10 +123,10 @@

    Functions and values

    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    diff --git a/reference/fsharp-configuration-yamlprovider.html b/reference/fsharp-configuration-yamlprovider.html index 7e24ffc1..172e96a6 100644 --- a/reference/fsharp-configuration-yamlprovider.html +++ b/reference/fsharp-configuration-yamlprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> YamlProvider
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 3eba6b4c..b5b20e0b 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -48,10 +48,10 @@

    Constructors

    - + new(assemblyFileName) -
    +
    Signature:assemblyFileName:string -> ProvidedAssembly
    From e18617b2dbec1e6367b68fedb29f8b1fb1f97213 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Thu, 16 Jan 2014 09:30:48 +0100 Subject: [PATCH 24/74] Update generated documentation for version 0.1.0 --- ResXProvider.html | 36 +++++++++++++----- img/ResXProvider.png | Bin 0 -> 3529 bytes img/Resource1.png | Bin 0 -> 6964 bytes ...eprovider-fsharpconfigurationprovider.html | 4 +- .../fsharp-configuration-parser-scalar.html | 20 +++++----- reference/fsharp-configuration-parser.html | 8 ++-- reference/fsharp-configuration-root.html | 32 ++++++++-------- .../fsharp-configuration-typesfactory-t.html | 4 +- .../fsharp-configuration-typesfactory.html | 20 +++++----- ...fsharp-providedtypes-providedassembly.html | 4 +- ...ovidedtypes-typeproviderfornamespaces.html | 4 +- 11 files changed, 75 insertions(+), 57 deletions(-) create mode 100644 img/ResXProvider.png create mode 100644 img/Resource1.png diff --git a/ResXProvider.html b/ResXProvider.html index bbf08104..f14b84fb 100644 --- a/ResXProvider.html +++ b/ResXProvider.html @@ -36,7 +36,13 @@

    FSharp.Configuratio

    The ResX type provider

    This tutorial shows the use of the ResX type provider. -It allows to access .resx files.

    +It allows typed access to .resx files.

    + +

    Create a resource file in Visual Studio like:

    + +

    alt text

    + +

    Reference the type provider assembly and configure it to use your .resx file:

    + +
     1: 
    @@ -45,9 +51,6 @@ 

    The ResX type provider

    4: 5: 6: -7: -8: -9:
    @@ -56,10 +59,25 @@ 

    The ResX type provider

    open FSharp.Configuration // Let the type provider do it's work -type ResX = ResXProvider<file="Resource1.resx"> +type ResX = ResXProvider<file="Resource1.resx">
    +
    + +

    Now you have typed access to your app.config files:

    + +

    alt text

    -ResX.Resource1.HelloWorld -val it : string = "Hello World"

    +

    Reading and writing from the resx file

    + + +
    +1: 
    +2: 
    +
    +
    +ResX.Resource1.Greetings
    +val it : string = "Hello World!"
    @@ -68,8 +86,8 @@

    The ResX type provider

    namespace FSharp.Configuration
    type ResX = ResXProvider<...>

    Full name: ResXProvider.ResX
    type ResXProvider

    Full name: FSharp.Configuration.ResXProvider
    -
    type Resource1 =
      static member HelloWorld : string

    Full name: FSharp.Configuration.ResXProvider,file="Resource1.resx".Resource1
    -
    property ResXProvider<...>.Resource1.HelloWorld: string


    Greetings
    +
    type Resource1 =
      static member AlternativeGreetings : string
      static member Greetings : string

    Full name: FSharp.Configuration.ResXProvider,file="Resource1.resx".Resource1
    +
    property ResXProvider<...>.Resource1.Greetings: string


    Greetings
    diff --git a/img/ResXProvider.png b/img/ResXProvider.png new file mode 100644 index 0000000000000000000000000000000000000000..87cc08ce7a31a997d7c9f1c3e22c5243e452c90a GIT binary patch literal 3529 zcmd^B`BxL!5)L4uvWlW3#1`CeK_8fah5^~7VE_SP6a^8&szRa(JCA^}2$G-)V1f~m zMNpIhO%!yLVGT=&>`MTFpkd!l7$DNGnSbE@@_u`DPTj8lPTjgy_p3VH$&L=zirdt; zArJ^f8_?1jfsn?)w(k}hc%=)aSK)^g!P(jzQNlw`z%QHp&Fsw(h_W<0G@`xvH=_m zz_US+3W78oNX3IRG?|Ph^HB^4RRW=^AdpH0X*4XEjAye!Y9~nR@?bz%HiTn|@NBV1 zJ48k!s35?`B3L+pjR!UYfp|6^WZ`gZJbq1A4>C1fIS2l2V+VoYvdcyBHLMux5Bd1~ zh>oRFaWop9PeylAK@kfFv9V${J|Q6?BO`-Or<2)a8k?4v^R%q2tg^E54g)GEfvBA< zmWag`v&nouwX>7VhY=C2OMFKF6|_SI3lK{rVvEIW2PpiF)=YYu`oHgI5j;#JG&@YfCLZ(>->f+i9{l? zSiHO;E6@V8vbwgqDuLG4B$A)77u*B?w{n11vQht5Jm^M1Ae3r0REmQu@_|8hqSYnh z1)Lu-%IkaDDNr&ZnMe*8+cs_Wbs&-jITj!1P zrf2tt&fRR}zKQz0PZ%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_bQDt?03!S5 z*H78#2ivz~`%ha;NnXd$Kh)Mn8M=C}N%}N7yUwe7xUMI!>`0*BhH;W6=JRk`kRN@B>z9F9&AK*(POs{{NsvH-v;g! zeeIkUM{!X3t@KqBNW3P=q4VAzKnoJK`P(=R+C+WX4su<|Zo0lOp*rYyv+$sTDyn_( z_S@D$k$;_yq-JMYrCiPs`7g7y4r6^zkz$`Fuq@y2w&I)&p~+;~G^78+_dEYtBKaB6 zRMs^=#9QcJ_x?zwP4o3tFguff7Exw7&(Q1Dg7LJn{nl;&`tw_-|3etykRuG7Vgdp{ j67cWukY3b)osB&fJ&j}1u62!=eO4V!0}Y(IL+F11+IO>v literal 0 HcmV?d00001 diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index 70162534..f62de0ab 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 4b1e57df..5bce940a 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -61,10 +61,10 @@

    Union Cases

    - + Int -
    +
    Signature:int
    @@ -75,10 +75,10 @@

    Union Cases

    - + String -
    +
    Signature:string
    @@ -89,10 +89,10 @@

    Union Cases

    - + TimeSpan -
    +
    Signature:TimeSpan
    @@ -103,10 +103,10 @@

    Union Cases

    - + Uri -
    +
    Signature:Uri
    @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index 3aa0e3c5..69ecf543 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    - + parse -
    +
    Signature:string -> Node
    @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index 31b135a8..e0f0095b 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-typesfactory-t.html b/reference/fsharp-configuration-typesfactory-t.html index 4843c654..2f769ea7 100644 --- a/reference/fsharp-configuration-typesfactory-t.html +++ b/reference/fsharp-configuration-typesfactory-t.html @@ -47,10 +47,10 @@

    Record Fields

    - + Init -
    +
    Signature:Expr -> Expr
    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 7cf860c0..026f818b 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    @@ -81,10 +81,10 @@

    Functions and values

    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    @@ -95,10 +95,10 @@

    Functions and values

    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    @@ -109,10 +109,10 @@

    Functions and values

    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    @@ -123,10 +123,10 @@

    Functions and values

    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index b5b20e0b..2aadcc68 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -84,10 +84,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index c51ecced..cd1844c0 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature:unit -> unit
    From 7acdfb3b9306572f2147e7e45cc5c170a9386030 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Thu, 16 Jan 2014 09:33:28 +0100 Subject: [PATCH 25/74] Update generated documentation for version 0.1.0 --- ResXProvider.html | 4 +-- ...eprovider-fsharpconfigurationprovider.html | 4 +-- .../fsharp-configuration-parser-scalar.html | 20 ++++++------ reference/fsharp-configuration-parser.html | 8 ++--- reference/fsharp-configuration-root.html | 32 +++++++++---------- .../fsharp-configuration-typesfactory-t.html | 4 +-- .../fsharp-configuration-typesfactory.html | 20 ++++++------ ...fsharp-providedtypes-providedassembly.html | 4 +-- ...ovidedtypes-typeproviderfornamespaces.html | 4 +-- 9 files changed, 50 insertions(+), 50 deletions(-) diff --git a/ResXProvider.html b/ResXProvider.html index f14b84fb..a14f066b 100644 --- a/ResXProvider.html +++ b/ResXProvider.html @@ -42,7 +42,7 @@

    The ResX type provider

    alt text

    -

    Reference the type provider assembly and configure it to use your .resx file:

    +

    Reference the type provider assembly and configure it to use your Resource1.resx file:

     1: 
    @@ -64,7 +64,7 @@ 

    The ResX type provider

    -

    Now you have typed access to your app.config files:

    +

    Now you have typed access to .resx files:

    alt text

    diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index f62de0ab..d6435e3c 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 5bce940a..4b1e57df 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -61,10 +61,10 @@

    Union Cases

    - + Int -
    +
    Signature:int
    @@ -75,10 +75,10 @@

    Union Cases

    - + String -
    +
    Signature:string
    @@ -89,10 +89,10 @@

    Union Cases

    - + TimeSpan -
    +
    Signature:TimeSpan
    @@ -103,10 +103,10 @@

    Union Cases

    - + Uri -
    +
    Signature:Uri
    @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index 69ecf543..3aa0e3c5 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    - + parse -
    +
    Signature:string -> Node
    @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index e0f0095b..ae2e978e 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-typesfactory-t.html b/reference/fsharp-configuration-typesfactory-t.html index 2f769ea7..4843c654 100644 --- a/reference/fsharp-configuration-typesfactory-t.html +++ b/reference/fsharp-configuration-typesfactory-t.html @@ -47,10 +47,10 @@

    Record Fields

    - + Init -
    +
    Signature:Expr -> Expr
    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 026f818b..7cf860c0 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    @@ -81,10 +81,10 @@

    Functions and values

    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    @@ -95,10 +95,10 @@

    Functions and values

    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    @@ -109,10 +109,10 @@

    Functions and values

    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    @@ -123,10 +123,10 @@

    Functions and values

    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 2aadcc68..b5b20e0b 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -84,10 +84,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index cd1844c0..c51ecced 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature:unit -> unit
    From ce924cc13f52fdfeec0db7842d1c79488cfc72fc Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Thu, 16 Jan 2014 15:48:39 +0100 Subject: [PATCH 26/74] Update generated documentation for version 0.2.0 --- YamlProvider.html | 4 +- ...eprovider-fsharpconfigurationprovider.html | 4 +- .../fsharp-configuration-parser-node.html | 12 +++--- .../fsharp-configuration-parser-scalar.html | 28 ++++++------- reference/fsharp-configuration-parser.html | 4 +- reference/fsharp-configuration-root.html | 40 +++++++++---------- .../fsharp-configuration-typesfactory.html | 4 +- ...arp-configuration-yamlconfigprovider.html} | 10 ++--- reference/index.html | 2 +- ...fsharp-providedtypes-providedassembly.html | 4 +- 10 files changed, 56 insertions(+), 56 deletions(-) rename reference/{fsharp-configuration-yamlprovider.html => fsharp-configuration-yamlconfigprovider.html} (93%) diff --git a/YamlProvider.html b/YamlProvider.html index 7def735c..57a945b1 100644 --- a/YamlProvider.html +++ b/YamlProvider.html @@ -85,7 +85,7 @@

    Using Yaml type provider from F# scripts

    open FSharp.Configuration // Let the type provider do it's work -type Settings = Yaml<"Settings.yaml"> +type Settings = YamlConfig<"Settings.yaml"> let settings = Settings() @@ -132,7 +132,7 @@

    Reading and writing from the config

    namespace FSharp
    namespace FSharp.Configuration
    Multiple items
    type Settings =
      inherit Root
      new : unit -> Settings
      event Changed : EventHandler
      member DB : DB_Type
      member Mail : Mail_Type
      nested type DB_Type
      nested type Mail_Type

    Full name: YamlProvider.Settings

    --------------------
    Settings() : Settings
    -
    type Yaml =
      inherit Root

    Full name: FSharp.Configuration.Yaml


    <summary>Generate types for read/write access to a YAML file.</summary>
               <param name='FilePath'>Path to a YAML file.</param>
               <param name='ReadOnly'>Whether the resulting properties will be read-only or not.</param>
               <param name='YamlText'>Yaml as text. Mutually exclusive with FilePath parameter.</param>
    +
    type YamlConfig =
      inherit Root

    Full name: FSharp.Configuration.YamlConfig


    <summary>Statically typed YAML config.</summary>
               <param name='FilePath'>Path to YAML file.</param>
               <param name='ReadOnly'>Whether the resulting properties will be read-only or not.</param>
               <param name='YamlText'>Yaml as text. Mutually exclusive with FilePath parameter.</param>
    val settings : Settings

    Full name: YamlProvider.settings
    property Settings.DB: Settings.DB_Type
    property Settings.DB_Type.ConnectionString: string
    diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index d6435e3c..f62de0ab 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index 3ecffa24..b343c681 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    - + List -
    +
    Signature:Node list
    @@ -61,10 +61,10 @@

    Union Cases

    - + Map -
    +
    Signature:(string * Node) list
    @@ -75,10 +75,10 @@

    Union Cases

    - + Scalar -
    +
    Signature:Scalar
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 4b1e57df..7158ec63 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    - + Bool -
    +
    Signature:bool
    @@ -61,10 +61,10 @@

    Union Cases

    - + Int -
    +
    Signature:int
    @@ -75,10 +75,10 @@

    Union Cases

    - + String -
    +
    Signature:string
    @@ -89,10 +89,10 @@

    Union Cases

    - + TimeSpan -
    +
    Signature:TimeSpan
    @@ -103,10 +103,10 @@

    Union Cases

    - + Uri -
    +
    Signature:Uri
    @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    @@ -147,10 +147,10 @@

    Static members

    - + Parse(value) -
    +
    Signature:value:string -> Scalar
    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index 3aa0e3c5..f3e963f1 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index ae2e978e..67d40612 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,45 +69,45 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    -

    Load Yaml from a file and update itself with it.

    +

    Load Yaml config from a file and update itself with it.

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    -

    Load Yaml from a TextReader and update itself with it.

    +

    Load Yaml config from a TextReader and update itself with it.

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    -

    Load Yaml from a file, update itself with it then start watching it for changes. +

    Load Yaml config from a file, update itself with it, then start watching it for changes. If it detects any change, it reloads the file.

    @@ -115,25 +115,25 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    -

    Load Yaml text and update itself with it.

    +

    Load Yaml config as text and update itself with it.

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 7cf860c0..e0cd07df 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    diff --git a/reference/fsharp-configuration-yamlprovider.html b/reference/fsharp-configuration-yamlconfigprovider.html similarity index 93% rename from reference/fsharp-configuration-yamlprovider.html rename to reference/fsharp-configuration-yamlconfigprovider.html index 172e96a6..8c96c45c 100644 --- a/reference/fsharp-configuration-yamlprovider.html +++ b/reference/fsharp-configuration-yamlconfigprovider.html @@ -2,7 +2,7 @@ - YamlProvider - FSharp.Configuration + YamlConfigProvider - FSharp.Configuration @@ -35,7 +35,7 @@

    FSharp.Configuratio -

    YamlProvider

    +

    YamlConfigProvider

    Constructors

    @@ -47,11 +47,11 @@

    Constructors

    - + new(cfg) -
    - Signature:cfg:TypeProviderConfig -> YamlProvider
    +
    + Signature:cfg:TypeProviderConfig -> YamlConfigProvider
    diff --git a/reference/index.html b/reference/index.html index 9cebf08c..8c300f35 100644 --- a/reference/index.html +++ b/reference/index.html @@ -50,7 +50,7 @@

    FSharp.Configuration Namespace

    -
    YamlProvider + YamlConfigProvider diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index b5b20e0b..3eba6b4c 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -48,10 +48,10 @@

    Constructors

    - + new(assemblyFileName) -
    +
    Signature:assemblyFileName:string -> ProvidedAssembly
    From c96ceab9af230d34df9b22c66f7d443c5b6f4cac Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Thu, 16 Jan 2014 16:10:43 +0100 Subject: [PATCH 27/74] Update generated documentation for version 0.2.0 --- .../fsharp-configuration-parser-node.html | 12 +++---- .../fsharp-configuration-parser-scalar.html | 28 ++++++++-------- reference/fsharp-configuration-parser.html | 4 +-- reference/fsharp-configuration-root.html | 32 +++++++++---------- .../fsharp-configuration-typesfactory.html | 4 +-- ...fsharp-providedtypes-providedassembly.html | 8 ++--- ...ovidedtypes-typeproviderfornamespaces.html | 16 +++++----- 7 files changed, 52 insertions(+), 52 deletions(-) diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index b343c681..3ecffa24 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    - + List -
    +
    Signature:Node list
    @@ -61,10 +61,10 @@

    Union Cases

    - + Map -
    +
    Signature:(string * Node) list
    @@ -75,10 +75,10 @@

    Union Cases

    - + Scalar -
    +
    Signature:Scalar
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 7158ec63..4b1e57df 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    - + Bool -
    +
    Signature:bool
    @@ -61,10 +61,10 @@

    Union Cases

    - + Int -
    +
    Signature:int
    @@ -75,10 +75,10 @@

    Union Cases

    - + String -
    +
    Signature:string
    @@ -89,10 +89,10 @@

    Union Cases

    - + TimeSpan -
    +
    Signature:TimeSpan
    @@ -103,10 +103,10 @@

    Union Cases

    - + Uri -
    +
    Signature:Uri
    @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    @@ -147,10 +147,10 @@

    Static members

    - + Parse(value) -
    +
    Signature:value:string -> Scalar
    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index f3e963f1..3aa0e3c5 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index 67d40612..797aeb01 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index e0cd07df..7cf860c0 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 3eba6b4c..800c85b8 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -70,10 +70,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature:(types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index c51ecced..5b42b579 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature:unit -> unit
    @@ -64,10 +64,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature:folder:string -> unit
    @@ -79,10 +79,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature:cfg:TypeProviderConfig -> unit
    @@ -94,10 +94,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature:ResolveEventArgs -> Assembly
    Modifiers: abstract
    From 49d092fe653411f13476cd817166084d88cbb098 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Thu, 16 Jan 2014 16:14:51 +0100 Subject: [PATCH 28/74] Update generated documentation for version 0.2.0 --- .../fsharp-configuration-parser-node.html | 12 +++---- .../fsharp-configuration-parser-scalar.html | 28 ++++++++-------- reference/fsharp-configuration-root.html | 32 +++++++++---------- ...harp-configuration-yamlconfigprovider.html | 4 +-- ...fsharp-providedtypes-providedassembly.html | 4 +-- 5 files changed, 40 insertions(+), 40 deletions(-) diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index 3ecffa24..b343c681 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    - + List -
    +
    Signature:Node list
    @@ -61,10 +61,10 @@

    Union Cases

    - + Map -
    +
    Signature:(string * Node) list
    @@ -75,10 +75,10 @@

    Union Cases

    - + Scalar -
    +
    Signature:Scalar
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 4b1e57df..7158ec63 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    - + Bool -
    +
    Signature:bool
    @@ -61,10 +61,10 @@

    Union Cases

    - + Int -
    +
    Signature:int
    @@ -75,10 +75,10 @@

    Union Cases

    - + String -
    +
    Signature:string
    @@ -89,10 +89,10 @@

    Union Cases

    - + TimeSpan -
    +
    Signature:TimeSpan
    @@ -103,10 +103,10 @@

    Union Cases

    - + Uri -
    +
    Signature:Uri
    @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    @@ -147,10 +147,10 @@

    Static members

    - + Parse(value) -
    +
    Signature:value:string -> Scalar
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index 797aeb01..67d40612 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-yamlconfigprovider.html b/reference/fsharp-configuration-yamlconfigprovider.html index 8c96c45c..bfdd52ba 100644 --- a/reference/fsharp-configuration-yamlconfigprovider.html +++ b/reference/fsharp-configuration-yamlconfigprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> YamlConfigProvider
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 800c85b8..0183566e 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -48,10 +48,10 @@

    Constructors

    - + new(assemblyFileName) -
    +
    Signature:assemblyFileName:string -> ProvidedAssembly
    From 6f4a60bce76add1f563c1f9788edd6cba3f6e9bc Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Thu, 16 Jan 2014 16:16:04 +0100 Subject: [PATCH 29/74] Update generated documentation for version 0.2.0 --- .../fsharp-configuration-parser-node.html | 12 +++---- .../fsharp-configuration-parser-scalar.html | 28 ++++++++-------- reference/fsharp-configuration-parser.html | 4 +-- reference/fsharp-configuration-root.html | 32 +++++++++---------- .../fsharp-configuration-typesfactory.html | 4 +-- ...fsharp-providedtypes-providedassembly.html | 8 ++--- ...ovidedtypes-typeproviderfornamespaces.html | 16 +++++----- 7 files changed, 52 insertions(+), 52 deletions(-) diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index b343c681..3ecffa24 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    - + List -
    +
    Signature:Node list
    @@ -61,10 +61,10 @@

    Union Cases

    - + Map -
    +
    Signature:(string * Node) list
    @@ -75,10 +75,10 @@

    Union Cases

    - + Scalar -
    +
    Signature:Scalar
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 7158ec63..4b1e57df 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    - + Bool -
    +
    Signature:bool
    @@ -61,10 +61,10 @@

    Union Cases

    - + Int -
    +
    Signature:int
    @@ -75,10 +75,10 @@

    Union Cases

    - + String -
    +
    Signature:string
    @@ -89,10 +89,10 @@

    Union Cases

    - + TimeSpan -
    +
    Signature:TimeSpan
    @@ -103,10 +103,10 @@

    Union Cases

    - + Uri -
    +
    Signature:Uri
    @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    @@ -147,10 +147,10 @@

    Static members

    - + Parse(value) -
    +
    Signature:value:string -> Scalar
    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index 3aa0e3c5..f3e963f1 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index 67d40612..797aeb01 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 7cf860c0..e0cd07df 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 0183566e..b5b20e0b 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -70,10 +70,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature:(types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 5b42b579..c51ecced 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature:unit -> unit
    @@ -64,10 +64,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature:folder:string -> unit
    @@ -79,10 +79,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature:cfg:TypeProviderConfig -> unit
    @@ -94,10 +94,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature:ResolveEventArgs -> Assembly
    Modifiers: abstract
    From a0d0338be9452a78cb5a265f02363c9048634b54 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Thu, 16 Jan 2014 16:47:37 +0100 Subject: [PATCH 30/74] Update generated documentation for version 0.2.0 --- ResXProvider.html | 4 +-- img/ResXImages.png | Bin 0 -> 10514 bytes ...eprovider-fsharpconfigurationprovider.html | 4 +-- .../fsharp-configuration-parser-node.html | 12 +++---- .../fsharp-configuration-parser-scalar.html | 24 ++++++------- reference/fsharp-configuration-parser.html | 4 +-- reference/fsharp-configuration-root.html | 32 +++++++++--------- .../fsharp-configuration-typesfactory.html | 4 +-- ...fsharp-providedtypes-providedassembly.html | 4 +-- ...ovidedtypes-typeproviderfornamespaces.html | 4 +-- 10 files changed, 46 insertions(+), 46 deletions(-) create mode 100644 img/ResXImages.png diff --git a/ResXProvider.html b/ResXProvider.html index a14f066b..082b3bc6 100644 --- a/ResXProvider.html +++ b/ResXProvider.html @@ -68,7 +68,7 @@

    The ResX type provider

    alt text

    -

    Reading and writing from the resx file

    +

    Reading from the resx file

    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index 3ecffa24..b343c681 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    @@ -61,10 +61,10 @@

    Union Cases

    @@ -75,10 +75,10 @@

    Union Cases

    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 4b1e57df..d872179d 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    @@ -61,10 +61,10 @@

    Union Cases

    @@ -75,10 +75,10 @@

    Union Cases

    @@ -89,10 +89,10 @@

    Union Cases

    @@ -103,10 +103,10 @@

    Union Cases

    @@ -125,10 +125,10 @@

    Instance members

    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index f3e963f1..3aa0e3c5 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -87,10 +87,10 @@

    Functions and values

    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index 797aeb01..2af43d77 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    @@ -69,10 +69,10 @@

    Instance members

    @@ -84,10 +84,10 @@

    Instance members

    @@ -99,10 +99,10 @@

    Instance members

    @@ -115,10 +115,10 @@

    Instance members

    @@ -130,10 +130,10 @@

    Instance members

    @@ -145,10 +145,10 @@

    Instance members

    @@ -160,10 +160,10 @@

    Instance members

    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index e0cd07df..7cf860c0 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index b5b20e0b..2aadcc68 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -84,10 +84,10 @@

    Instance members

    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index c51ecced..cd1844c0 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    From 0e274cb7873d2adead3b1aa6ceb0a361e8e278c8 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Fri, 17 Jan 2014 13:06:47 +0100 Subject: [PATCH 31/74] Update generated documentation for version 0.2.1 --- AppSettingsProvider.html | 11 +- index.html | 7 +- ...configuration-appsettingstypeprovider.html | 153 ++++++++++++++++++ ...eprovider-fsharpconfigurationprovider.html | 4 +- .../fsharp-configuration-parser-node.html | 8 +- .../fsharp-configuration-parser-scalar.html | 28 ++-- reference/fsharp-configuration-parser.html | 8 +- reference/fsharp-configuration-root.html | 32 ++-- .../fsharp-configuration-typesfactory-t.html | 12 +- .../fsharp-configuration-typesfactory.html | 24 +-- ...harp-configuration-yamlconfigprovider.html | 4 +- reference/index.html | 6 + ...fsharp-providedtypes-providedassembly.html | 16 +- ...ovidedtypes-typeproviderfornamespaces.html | 16 +- 14 files changed, 250 insertions(+), 79 deletions(-) create mode 100644 reference/fsharp-configuration-appsettingstypeprovider.html diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html index 4e58cc83..1abcaba7 100644 --- a/AppSettingsProvider.html +++ b/AppSettingsProvider.html @@ -82,12 +82,20 @@

    Reading and writing from the config

    1: 2: 3: +4: +5: +6: +7:
     1: 
    @@ -86,7 +86,7 @@ 

    Reading and writing from the resx file

    namespace FSharp.Configuration
    type ResX = ResXProvider<...>

    Full name: ResXProvider.ResX
    type ResXProvider

    Full name: FSharp.Configuration.ResXProvider
    -
    type Resource1 =
      static member AlternativeGreetings : string
      static member Greetings : string

    Full name: FSharp.Configuration.ResXProvider,file="Resource1.resx".Resource1
    +
    type Resource1 =
      static member AlternativeGreetings : string
      static member Flowers : string
      static member Greetings : string

    Full name: FSharp.Configuration.ResXProvider,file="Resource1.resx".Resource1
    property ResXProvider<...>.Resource1.Greetings: string


    Greetings
    diff --git a/img/ResXImages.png b/img/ResXImages.png new file mode 100644 index 0000000000000000000000000000000000000000..a9e1d4156aa0d9c9c80cccaf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p-configuration-configtypeprovider-fsharpconfigurationprovider.html index f62de0ab..d6435e3c 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    - + List -
    +
    Signature:Node list
    - + Map -
    +
    Signature:(string * Node) list
    - + Scalar -
    +
    Signature:Scalar
    - + Bool -
    +
    Signature:bool
    - + Int -
    +
    Signature:int
    - + String -
    +
    Signature:string
    - + TimeSpan -
    +
    Signature:TimeSpan
    - + Uri -
    +
    Signature:Uri
    - + UnderlyingType -
    +
    Signature:Type
    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    - + new() -
    +
    Signature:unit -> Root
    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    - + Invalidate() -
    +
    Signature:unit -> unit
     // read a value from the config
     Settings.Test2
    -val it : string = "Some Test Value 5"
    +val it : string = "Some Test Value 5" + +// verify the file name +Settings.ConfigFileName +val it : string = "C:\Code\FSharp.Configuration\docs\content\app.config"
    @@ -97,6 +105,7 @@

    Reading and writing from the config

    type Settings = AppSettings<...>

    Full name: AppSettingsProvider.Settings
    type AppSettings

    Full name: FSharp.Configuration.AppSettings
    property AppSettings<...>.Test2: string


    Returns the value from app.config with key test2
    +
    property AppSettings<...>.ConfigFileName: string


    Returns the Filename
    diff --git a/index.html b/index.html index 5a6a8624..0d183d25 100644 --- a/index.html +++ b/index.html @@ -69,6 +69,7 @@

    Example

    8: 9: 10: +11:
    @@ -80,7 +81,8 @@ 

    Example

    // Let the type provider do it's work type Settings = AppSettings<"app.config"> -Settings.Test2 +Settings.ConfigFileName +Settings.Test2 val it : string = "Some Test Value 5"
    @@ -103,7 +105,8 @@

    Contributing and copyright

    namespace FSharp.Configuration
    type Settings = AppSettings<...>

    Full name: Index.Settings
    type AppSettings

    Full name: FSharp.Configuration.AppSettings
    -
    property AppSettings<...>.Test2: string


    Returns the value from app.config with key test2
    +
    property AppSettings<...>.ConfigFileName: string


    Returns the Filename
    +
    property AppSettings<...>.Test2: string


    Returns the value from app.config with key test2
    diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html new file mode 100644 index 00000000..cd85eb4f --- /dev/null +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -0,0 +1,153 @@ + + + + + AppSettingsTypeProvider - FSharp.Configuration + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + +

    AppSettingsTypeProvider

    +
    +
    + + + +

    Functions and values

    + + + + + + + + + + + + + + +
    Function or valueDescription
    + + + getConfigValue (filePath, key) + +
    + Signature:(filePath:string * key:string) -> string
    +
    +
    + +
    + + + tryParseWith func + +
    + Signature:func:('?5040 -> bool * '?5041) -> '?5040 -> '?5041 option
    + Type parameters: '?5040, '?5041
    +
    +

    Converts a function returning bool,value to a function returning value option. +Useful to process TryXX style functions.

    + +
    +

    Active patterns

    + + + + + + + + + + + + + + + + + + +
    Active patternDescription
    + + + ( |Bool|_| ) + +
    + Signature:string -> bool option
    +
    +
    + +
    + + + ( |Double|_| ) text + +
    + Signature:text:string -> float option
    +
    +
    + +
    + + + ( |Int|_| ) + +
    + Signature:string -> int option
    +
    +
    + +
    + +
    + +
    +
    + Fork me on GitHub + + diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index d6435e3c..aaa5d381 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index b343c681..57e990b3 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -61,10 +61,10 @@

    Union Cases

    - + Map -
    +
    Signature:(string * Node) list
    @@ -75,10 +75,10 @@

    Union Cases

    - + Scalar -
    +
    Signature:Scalar
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index d872179d..f4de9002 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    - + Bool -
    +
    Signature:bool
    @@ -61,10 +61,10 @@

    Union Cases

    - + Int -
    +
    Signature:int
    @@ -75,10 +75,10 @@

    Union Cases

    - + String -
    +
    Signature:string
    @@ -89,10 +89,10 @@

    Union Cases

    - + TimeSpan -
    +
    Signature:TimeSpan
    @@ -103,10 +103,10 @@

    Union Cases

    - + Uri -
    +
    Signature:Uri
    @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    @@ -147,10 +147,10 @@

    Static members

    - + Parse(value) -
    +
    Signature:value:string -> Scalar
    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index 3aa0e3c5..dd7e58ac 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    - + parse -
    +
    Signature:string -> Node
    @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index 2af43d77..f5df01f2 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-typesfactory-t.html b/reference/fsharp-configuration-typesfactory-t.html index 4843c654..47e74be2 100644 --- a/reference/fsharp-configuration-typesfactory-t.html +++ b/reference/fsharp-configuration-typesfactory-t.html @@ -47,10 +47,10 @@

    Record Fields

    - + Init -
    +
    Signature:Expr -> Expr
    @@ -61,10 +61,10 @@

    Record Fields

    - + MainType -
    +
    Signature:Type option
    @@ -75,10 +75,10 @@

    Record Fields

    - + Types -
    +
    Signature:MemberInfo list
    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 7cf860c0..a359c6b5 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    @@ -81,10 +81,10 @@

    Functions and values

    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    @@ -95,10 +95,10 @@

    Functions and values

    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    @@ -109,10 +109,10 @@

    Functions and values

    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    @@ -123,10 +123,10 @@

    Functions and values

    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    @@ -145,10 +145,10 @@

    Type extensions

    - + ToExpr() -
    +
    Signature:unit -> Expr
    diff --git a/reference/fsharp-configuration-yamlconfigprovider.html b/reference/fsharp-configuration-yamlconfigprovider.html index bfdd52ba..f31d9e33 100644 --- a/reference/fsharp-configuration-yamlconfigprovider.html +++ b/reference/fsharp-configuration-yamlconfigprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> YamlConfigProvider
    diff --git a/reference/index.html b/reference/index.html index 8c300f35..2c34e43d 100644 --- a/reference/index.html +++ b/reference/index.html @@ -61,6 +61,12 @@

    FSharp.Configuration Namespace

    ModuleDescription + + + AppSettingsTypeProvider + + + ConfigTypeProvider diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 2aadcc68..a1d8f303 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -48,10 +48,10 @@

    Constructors

    - + new(assemblyFileName) -
    +
    Signature:assemblyFileName:string -> ProvidedAssembly
    @@ -70,10 +70,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature:(types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    @@ -112,10 +112,10 @@

    Static members

    - + RegisterGenerated(fileName) -
    +
    Signature:fileName:string -> Assembly
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index cd1844c0..26bbe878 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature:unit -> unit
    @@ -64,10 +64,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature:folder:string -> unit
    @@ -79,10 +79,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature:cfg:TypeProviderConfig -> unit
    @@ -94,10 +94,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature:ResolveEventArgs -> Assembly
    Modifiers: abstract
    From fefc44d602fb24a23f7c1f95267ba0b94471e051 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Sat, 18 Jan 2014 10:06:18 +0100 Subject: [PATCH 32/74] Update generated documentation for version 0.2.1 --- ...configuration-appsettingstypeprovider.html | 12 +++---- ...eprovider-fsharpconfigurationprovider.html | 4 +-- .../fsharp-configuration-parser-node.html | 12 +++---- .../fsharp-configuration-parser-scalar.html | 28 ++++++++-------- reference/fsharp-configuration-parser.html | 8 ++--- reference/fsharp-configuration-root.html | 32 +++++++++---------- .../fsharp-configuration-typesfactory-t.html | 12 +++---- .../fsharp-configuration-typesfactory.html | 24 +++++++------- ...harp-configuration-yamlconfigprovider.html | 4 +-- ...fsharp-providedtypes-providedassembly.html | 8 ++--- ...ovidedtypes-typeproviderfornamespaces.html | 12 +++---- 11 files changed, 78 insertions(+), 78 deletions(-) diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html index cd85eb4f..26b5e45c 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -88,10 +88,10 @@

    Active patterns

    - + ( |Bool|_| ) -
    +
    Signature:string -> bool option
    @@ -102,10 +102,10 @@

    Active patterns

    - + ( |Double|_| ) text -
    +
    Signature:text:string -> float option
    @@ -116,10 +116,10 @@

    Active patterns

    - + ( |Int|_| ) -
    +
    Signature:string -> int option
    diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index aaa5d381..68e1b54e 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index 57e990b3..4f838a33 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    - + List -
    +
    Signature:Node list
    @@ -61,10 +61,10 @@

    Union Cases

    - + Map -
    +
    Signature:(string * Node) list
    @@ -75,10 +75,10 @@

    Union Cases

    - + Scalar -
    +
    Signature:Scalar
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index f4de9002..74524139 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    - + Bool -
    +
    Signature:bool
    @@ -61,10 +61,10 @@

    Union Cases

    - + Int -
    +
    Signature:int
    @@ -75,10 +75,10 @@

    Union Cases

    - + String -
    +
    Signature:string
    @@ -89,10 +89,10 @@

    Union Cases

    - + TimeSpan -
    +
    Signature:TimeSpan
    @@ -103,10 +103,10 @@

    Union Cases

    - + Uri -
    +
    Signature:Uri
    @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    @@ -147,10 +147,10 @@

    Static members

    - + Parse(value) -
    +
    Signature:value:string -> Scalar
    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index dd7e58ac..286a822d 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    - + parse -
    +
    Signature:string -> Node
    @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index f5df01f2..85bec3f8 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -145,10 +145,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -160,10 +160,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-typesfactory-t.html b/reference/fsharp-configuration-typesfactory-t.html index 47e74be2..9d91602f 100644 --- a/reference/fsharp-configuration-typesfactory-t.html +++ b/reference/fsharp-configuration-typesfactory-t.html @@ -47,10 +47,10 @@

    Record Fields

    - + Init -
    +
    Signature:Expr -> Expr
    @@ -61,10 +61,10 @@

    Record Fields

    - + MainType -
    +
    Signature:Type option
    @@ -75,10 +75,10 @@

    Record Fields

    - + Types -
    +
    Signature:MemberInfo list
    diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index a359c6b5..905f633a 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,10 +67,10 @@

    Functions and values

    - + foldChildren readOnly children -
    +
    Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    Type parameters: '?4964
    @@ -81,10 +81,10 @@

    Functions and values

    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    @@ -95,10 +95,10 @@

    Functions and values

    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    @@ -109,10 +109,10 @@

    Functions and values

    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    @@ -123,10 +123,10 @@

    Functions and values

    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    @@ -145,10 +145,10 @@

    Type extensions

    - + ToExpr() -
    +
    Signature:unit -> Expr
    diff --git a/reference/fsharp-configuration-yamlconfigprovider.html b/reference/fsharp-configuration-yamlconfigprovider.html index f31d9e33..ad8c2a79 100644 --- a/reference/fsharp-configuration-yamlconfigprovider.html +++ b/reference/fsharp-configuration-yamlconfigprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> YamlConfigProvider
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index a1d8f303..04181eea 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -48,10 +48,10 @@

    Constructors

    - + new(assemblyFileName) -
    +
    Signature:assemblyFileName:string -> ProvidedAssembly
    @@ -70,10 +70,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature:(types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 26bbe878..b03dd570 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -64,10 +64,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature:folder:string -> unit
    @@ -79,10 +79,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature:cfg:TypeProviderConfig -> unit
    @@ -94,10 +94,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature:ResolveEventArgs -> Assembly
    Modifiers: abstract
    From 1c9bf09ab9451368ecdb9c77c860b0131db584b1 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Mon, 27 Jan 2014 09:24:44 +0100 Subject: [PATCH 33/74] Update generated documentation for version 0.2.1 --- AppSettingsProvider.html | 2 +- ResXProvider.html | 2 +- YamlConfigProvider.html | 419 ++++++++++++++++++ YamlProvider.html | 161 ------- img/YamlConfigProvider.png | Bin 0 -> 6678 bytes img/YamlProvider.png | Bin 5571 -> 0 bytes index.html | 2 +- ...configuration-appsettingstypeprovider.html | 10 +- ...eprovider-fsharpconfigurationprovider.html | 2 +- ...harp-configuration-configtypeprovider.html | 2 +- .../fsharp-configuration-parser-node.html | 2 +- .../fsharp-configuration-parser-scalar.html | 10 +- reference/fsharp-configuration-parser.html | 10 +- reference/fsharp-configuration-root.html | 57 ++- .../fsharp-configuration-typesfactory-t.html | 14 +- .../fsharp-configuration-typesfactory.html | 30 +- ...harp-configuration-yamlconfigprovider.html | 6 +- reference/index.html | 2 +- ...fsharp-providedtypes-providedassembly.html | 18 +- ...ovidedtypes-typeproviderfornamespaces.html | 18 +- 20 files changed, 521 insertions(+), 246 deletions(-) create mode 100644 YamlConfigProvider.html delete mode 100644 YamlProvider.html create mode 100644 img/YamlConfigProvider.png delete mode 100644 img/YamlProvider.png diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html index 1abcaba7..f36b096a 100644 --- a/AppSettingsProvider.html +++ b/AppSettingsProvider.html @@ -121,7 +121,7 @@

    Reading and writing from the config

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/ResXProvider.html b/ResXProvider.html index 082b3bc6..e3290b48 100644 --- a/ResXProvider.html +++ b/ResXProvider.html @@ -103,7 +103,7 @@

    Reading from the resx file

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/YamlConfigProvider.html b/YamlConfigProvider.html new file mode 100644 index 00000000..d2bd3213 --- /dev/null +++ b/YamlConfigProvider.html @@ -0,0 +1,419 @@ + + + + + The YamlConfig type provider + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + +

    The YamlConfig type provider

    + +

    This tutorial shows the use of the YamlConfig type provider.

    + +

    It's generated, hence the types can be used from any .NET language, not only from F# code.

    + +

    It can produce mutable properties for Yaml scalars (leafs), which means the object tree can be loaded, modified and saved into the original file or a stream as Yaml text. Adding new properties is not supported, however lists can be replaced with new ones atomically. This is intentionally, see below.

    + +

    The main purpose for this is to be used as part of a statically typed application configuration system which would have a single master source of configuration structure - a Yaml file. Then any F#/C# project in a solution will able to use the generated read-only object graph.

    + +

    When you push a system into production, you can modify the configs with scripts written in F# in safe, statically typed way with full intellisense.

    + +

    Using Yaml type provider from F# scripts

    + +

    Create a Config.yaml file like this:

    + +
    Mail:
    +    Smtp:
    +        Host: smtp.sample.com
    +        Port: 25
    +        User: user1
    +        Password: pass1
    +    Pop3:
    +        Host: pop3.sample.com
    +        Port: 110
    +        User: user2
    +        Password: pass2
    +        CheckPeriod: 00:01:00
    +    ErrorNotificationRecipients:
    +        - user1@sample.com
    +        - user2@sample.com
    +DB:
    +    ConnectionString: Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI;
    +    NumberOfDeadlockRepeats: 5
    +    DefaultTimeout: 00:05:00
    + +

    Reference the type provider assembly and configure it to use your yaml file:

    + + + + +
    +1: 
    +2: 
    +3: 
    +4: 
    +5: 
    +6: 
    +
    +
    +#r "FSharp.Configuration.dll"
    +open FSharp.Configuration
    +
    +// Let the type provider do it's work
    +type TestConfig = YamlConfig<"Config.yaml">
    +let config = TestConfig()
    +
    + +

    alt text

    + +

    Reading and writing from the config

    + + + + +
    + 1: 
    + 2: 
    + 3: 
    + 4: 
    + 5: 
    + 6: 
    + 7: 
    + 8: 
    + 9: 
    +10: 
    +11: 
    +12: 
    +13: 
    +
    +
    +// read a value from the config
    +config.DB.ConnectionString
    +
    +val it : string = 
    +  "Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI;"
    +
    +// change a value in the config
    +config.DB.ConnectionString <- "Data Source=server2;"
    +config.DB.ConnectionString
    +val it : string = "Data Source=server2;"
    +
    +// write the settings back to a yaml file
    +config.Save(__SOURCE_DIRECTORY__ + @"\ChangedConfig.yaml")
    +
    + +

    Using configuration from C#

    + +

    Let's create a F# project named Config, add reference to FSharp.Configuration.dll, then add the following Config.yaml file:

    + +
    Mail:
    +  Smtp:
    +    Host: smtp.sample.com
    +    Port: 25
    +    User: user1
    +    Password: pass1
    +  Pop3:
    +    Host: pop3.sample.com
    +    Port: 110
    +    User: user2
    +    Password: pass2
    +    CheckPeriod: 00:01:00
    +  ErrorNotificationRecipients:
    +    - user1@sample.com
    +    - user2@sample.com
    +DB:
    +  ConnectionString: Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI;
    +  NumberOfDeadlockRepeats: 5
    +  DefaultTimeout: 00:05:00
    + +

    Declare a YamlConfig type and point it to the file above:

    + + + + +
    +1: 
    +2: 
    +3: 
    +
    +
    +open FSharp.Configuration
    +
    +type Config = YamlConfig<"Config.yaml">
    +
    + +

    Compile it. Now we have assembly Config.dll containing generated types with the default values "baked" into them (actually the values are set in the type constructors).

    + +

    Let's test it in a C# project. Create a Console Application, add reference to FSharp.Configuration.dll and our F# Config project.

    + +

    First, we'll try to create an instance of our generated Config type and check that all the values are there:

    + +
    var config = new Config.Config();
    +Console.WriteLine(string.Format("Default configuration:\n{0}", config));
    + +

    It should outputs this:

    + +
    Default settings:
    +Mail:
    +  Smtp:
    +    Host: smtp.sample.com
    +    Port: 25
    +    User: user1
    +    Password: pass1
    +  Pop3:
    +    Host: pop3.sample.com
    +    Port: 110
    +    User: user2
    +    Password: pass2
    +    CheckPeriod: 00:01:00
    +  ErrorNotificationRecipients:
    +  - user1@sample.com
    +  - user2@sample.com
    +DB:
    +  ConnectionString: Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI;
    +  NumberOfDeadlockRepeats: 5
    +  DefaultTimeout: 00:05:00
    + +

    And, of course, we now able to access all the config data in a nice typed way like this:

    + + + + +
    +1: 
    +2: 
    +3: 
    +4: 
    +5: 
    +
    +
    +let pop3host = config.Mail.Pop3.Host
    +val pop3host : string = "pop3.sample.com"
    +
    +let dbTimeout = config.DB.DefaultTimeout
    +val dbTimeout : System.TimeSpan = 00:05:00
    +
    + +

    It's not very interesting so far, as the main purpose of any configuration is to be loaded from a config file at runtime. +So, add the following RuntimeConfig.yaml into the C# console project:

    + +
    Mail:
    +  Smtp:
    +    Host: smtp2.sample.com
    +    Port: 26
    +    User: user11
    +    Password: pass11
    +  Pop3:
    +    Host: pop32.sample.com
    +    Port: 111
    +    User: user2
    +    Password: pass2
    +    CheckPeriod: 00:02:00
    +  ErrorNotificationRecipients:
    +    - user11@sample.com
    +    - user22@sample.com
    +    - new_user@sample.com
    +DB:
    +  ConnectionString: Data Source=server2;Initial Catalog=Database1;Integrated Security=SSPI;
    +  NumberOfDeadlockRepeats: 5
    +  DefaultTimeout: 00:10:00
    + +

    We changed almost every setting here. Update our default config with this file:

    + +
    // ...as before
    +config.Load(@"RuntimeConfig.yaml");
    +Console.WriteLine(string.Format("Loaded config:\n{0}", config));
    +Console.ReadLine();
    + +

    The output should be:

    + +
    Loaded settings:
    +Mail:
    +  Smtp:
    +    Host: smtp2.sample.com
    +    Port: 26
    +    User: user11
    +    Password: pass11
    +  Pop3:
    +    Host: pop32.sample.com
    +    Port: 111
    +    User: user2
    +    Password: pass2
    +    CheckPeriod: 00:02:00
    +  ErrorNotificationRecipients:
    +  - user11@sample.com
    +  - user22@sample.com
    +  - new_user@sample.com
    +DB:
    +  ConnectionString: Data Source=server2;Initial Catalog=Database1;Integrated Security=SSPI;
    +  NumberOfDeadlockRepeats: 5
    +  DefaultTimeout: 00:10:00
    + +

    Great! Values have been updated properly, the new user has been added into ErrorNotificationRecipients list.

    + +

    The Changed event

    + +

    Every type in the hierarchy contains Changed: EventHandler event. It's raised when an instance is updated (Loaded), not when the writable properties are assigned.

    + +

    Let's show the event in action:

    + + + + +
    + 1: 
    + 2: 
    + 3: 
    + 4: 
    + 5: 
    + 6: 
    + 7: 
    + 8: 
    + 9: 
    +10: 
    +11: 
    +12: 
    +13: 
    +14: 
    +15: 
    +16: 
    +17: 
    +18: 
    +19: 
    +20: 
    +21: 
    +22: 
    +23: 
    +24: 
    +25: 
    +26: 
    +27: 
    +28: 
    +29: 
    +30: 
    +31: 
    +32: 
    +
    +
    +// ...reference assemblies and open namespaces as before...
    +let c = Config()
    +let log name _ = printfn "%s changed!" name
    +// add handlers for the root and all down the Mail hierarchy 
    +c.Changed.Add (log "ROOT")
    +c.Mail.Changed.Add (log "Mail")
    +c.Mail.Smtp.Changed.Add (log "Mail.Smtp")
    +c.Mail.Pop3.Changed.Add (log "Mail.Pop3")
    +// as a marker, add a handler for DB
    +c.DB.Changed.Add (log "DB")
    +c.LoadText """
    +Mail:
    +  Smtp:
    +    Host: smtp.sample.com
    +    Port: 25
    +    User:       => first changed value <=
    +    Password:   => second changed value on the same level (in the same Map) <=
    +    Ssl: true   
    +  Pop3:
    +    Host: pop3.sample.com
    +    Port: 110
    +    User: user2
    +    Password: pass2
    +    CheckPeriod: 00:01:00
    +  ErrorNotificationRecipients:
    +    - user1@sample.com
    +    - user2@sample.com
    +DB:
    +  ConnectionString: Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI;
    +  NumberOfDeadlockRepeats: 5
    +  DefaultTimeout: 00:05:00
    +""" |> ignore
    +
    + +

    The output is as follows:

    + +
    ROOT changed!
    +Mail changed!
    +Mail.Smtp changed!
    + +

    So, we can see that all the events have been raised from the root's one down to the most close to the changed value one. And note that there're no duplicates - even though two value was changed in Mail.Smpt map, its Changed event has been raised only once.

    + +
    namespace FSharp
    +
    namespace FSharp.Configuration
    +
    Multiple items
    type TestConfig =
      inherit Root
      new : unit -> TestConfig
      event Changed : EventHandler
      member DB : DB_Type
      member Mail : Mail_Type
      nested type DB_Type
      nested type Mail_Type

    Full name: YamlConfigProvider.TestConfig

    --------------------
    TestConfig() : TestConfig
    +
    type YamlConfig =
      inherit Root

    Full name: FSharp.Configuration.YamlConfig


    <summary>Statically typed YAML config.</summary>
               <param name='FilePath'>Path to YAML file.</param>
               <param name='ReadOnly'>Whether the resulting properties will be read-only or not.</param>
               <param name='YamlText'>Yaml as text. Mutually exclusive with FilePath parameter.</param>
    +
    val config : TestConfig

    Full name: YamlConfigProvider.config
    +
    property TestConfig.DB: TestConfig.DB_Type
    +
    property TestConfig.DB_Type.ConnectionString: string
    +
    member Root.Save : unit -> unit
    member Root.Save : filePath:string -> unit
    member Root.Save : writer:System.IO.TextWriter -> unit
    member Root.Save : stream:System.IO.Stream -> unit
    +
    Multiple items
    type Config =
      inherit Root
      new : unit -> Config
      event Changed : EventHandler
      member DB : DB_Type
      member Mail : Mail_Type
      nested type DB_Type
      nested type Mail_Type

    Full name: YamlConfigProvider.Config

    --------------------
    Config() : Config
    +
    val pop3host : string

    Full name: YamlConfigProvider.pop3host
    +
    property TestConfig.Mail: TestConfig.Mail_Type
    +
    property TestConfig.Mail_Type.Pop3: TestConfig.Mail_Type.Pop3_Type
    +
    property TestConfig.Mail_Type.Pop3_Type.Host: string
    +
    val dbTimeout : System.TimeSpan

    Full name: YamlConfigProvider.dbTimeout
    +
    property TestConfig.DB_Type.DefaultTimeout: System.TimeSpan
    +
    val c : Config

    Full name: YamlConfigProvider.c
    +
    val log : name:string -> 'a -> unit

    Full name: YamlConfigProvider.log
    +
    val name : string
    +
    val printfn : format:Printf.TextWriterFormat<'T> -> 'T

    Full name: Microsoft.FSharp.Core.ExtraTopLevelOperators.printfn
    +
    event Config.Changed: IEvent<System.EventHandler,System.EventArgs>
    +
    member System.IObservable.Add : callback:('T -> unit) -> unit
    +
    property Config.Mail: Config.Mail_Type
    +
    event Config.Mail_Type.Changed: IEvent<System.EventHandler,System.EventArgs>
    +
    property Config.Mail_Type.Smtp: Config.Mail_Type.Smtp_Type
    +
    event Config.Mail_Type.Smtp_Type.Changed: IEvent<System.EventHandler,System.EventArgs>
    +
    property Config.Mail_Type.Pop3: Config.Mail_Type.Pop3_Type
    +
    event Config.Mail_Type.Pop3_Type.Changed: IEvent<System.EventHandler,System.EventArgs>
    +
    property Config.DB: Config.DB_Type
    +
    event Config.DB_Type.Changed: IEvent<System.EventHandler,System.EventArgs>
    +
    member Root.LoadText : yamlText:string -> unit
    +
    val ignore : value:'T -> unit

    Full name: Microsoft.FSharp.Core.Operators.ignore
    + +
    +
    +
    +
    + Fork me on GitHub + + diff --git a/YamlProvider.html b/YamlProvider.html deleted file mode 100644 index 57a945b1..00000000 --- a/YamlProvider.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - The Yaml type provider - - - - - - - - - - - - - - - - -
    - -
    -
    -
    - -

    The Yaml type provider

    - -

    This tutorial shows the use of the Yaml type provider.

    - -

    It's generated, hence the types can be used from any .NET language, not only from F# code.

    - -

    It can produce mutable properties for Scalars (leafs), which means the object tree can be loaded, modified and saved into the original file or a stream as Yaml text. Adding new properties is not supported, however lists can be replaced with new ones atomically. This is intentionally, see below.

    - -

    The main purpose for this is to be used as part of a statically typed application configuration system which would have a single master source of configuration structure - a Yaml file. Then any F#/C# project in a solution will able to use the generated read-only object graph.

    - -

    When you push a system into production, you can modify the configs with scripts written in F# in safe, statically checked way with full intellisense.

    - -

    Using Yaml type provider from F# scripts

    - -

    Create a Settings.yaml file like this:

    - -
    Mail:
    -    Smtp:
    -        Host: smtp.sample.com
    -        Port: 443
    -        User: user1
    -        Password: pass1
    -    Pop3:
    -        Host: pop3.sample.com
    -        Port: 331
    -        User: user2
    -        Password: pass2
    -        CheckPeriod: 00:01:00
    -    ErrorNotificationRecipients:
    -        - user1@sample.com
    -        - user2@sample.com
    -DB:
    -    ConnectionString: Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI;
    -    NumberOfDeadlockRepeats: 5
    -    DefaultTimeout: 00:05:00
    - -

    Reference the type provider assembly and configure it to use your yaml file:

    - - - - -
    -1: 
    -2: 
    -3: 
    -4: 
    -5: 
    -6: 
    -
    -
    -#r "FSharp.Configuration.dll"
    -open FSharp.Configuration
    -
    -// Let the type provider do it's work
    -type Settings = YamlConfig<"Settings.yaml">
    -let settings = Settings()
    -
    - -

    alt text

    - -

    Reading and writing from the config

    - - - - -
    - 1: 
    - 2: 
    - 3: 
    - 4: 
    - 5: 
    - 6: 
    - 7: 
    - 8: 
    - 9: 
    -10: 
    -11: 
    -12: 
    -13: 
    -
    -
    -// read a value from the config
    -settings.DB.ConnectionString
    -
    -val it : string = 
    -  "Data Source=server1;Initial Catalog=Database1;Integrated Security=SSPI;"
    -
    -// change a value in the config
    -settings.DB.ConnectionString <- "Data Source=server2;"
    -settings.DB.ConnectionString
    -val it : string = "Data Source=server2;"
    -
    -// write the settings back to a yaml file
    -settings.Save(__SOURCE_DIRECTORY__ + @"\ChangedSettings.yaml")
    -
    - -
    namespace FSharp
    -
    namespace FSharp.Configuration
    -
    Multiple items
    type Settings =
      inherit Root
      new : unit -> Settings
      event Changed : EventHandler
      member DB : DB_Type
      member Mail : Mail_Type
      nested type DB_Type
      nested type Mail_Type

    Full name: YamlProvider.Settings

    --------------------
    Settings() : Settings
    -
    type YamlConfig =
      inherit Root

    Full name: FSharp.Configuration.YamlConfig


    <summary>Statically typed YAML config.</summary>
               <param name='FilePath'>Path to YAML file.</param>
               <param name='ReadOnly'>Whether the resulting properties will be read-only or not.</param>
               <param name='YamlText'>Yaml as text. Mutually exclusive with FilePath parameter.</param>
    -
    val settings : Settings

    Full name: YamlProvider.settings
    -
    property Settings.DB: Settings.DB_Type
    -
    property Settings.DB_Type.ConnectionString: string
    -
    member Root.Save : filePath:string -> unit
    member Root.Save : writer:System.IO.TextWriter -> unit
    member Root.Save : stream:System.IO.Stream -> unit
    - -
    - -
    -
    - Fork me on GitHub - - diff --git a/img/YamlConfigProvider.png b/img/YamlConfigProvider.png new file mode 100644 index 0000000000000000000000000000000000000000..61b5671aaaea0d2d12e22f7316f537f9bd278776 GIT binary patch literal 6678 zcmai2cRZWl+fFxCbSR2YrE0W@RivmHTWz&R#oiIEmD1V-tvzeS47F><-aGbe?GUx8 z{YJmP_w#vw@A$lbWITCJ&U2sZy3T!H_X&EV3?aQua~l8vkjlwQsR002jR@akh^`Xe z9kSdR2p?Bm)F2Xo!ah12;o`c5xRN*kP#jKjYI1{cP3$Q9)&&3{YrcG4X?MtZ2LL?E zmy;6LcyG9o+#g~v=GCyTVrkwnTN7nH;@2qwVyC#CKA_2}V`V~-;RpBSOyJH3l}0hj z-l2&6-11ZU^Rzb zOqYHU%nrOJhj85aw>6*vQ~w%hG= z5VzQ8E{4x-7uqI0!nYkwSrpYHw%X20EfDV)iu;p4wv+d#)_ILeSs!eNF{FriT#zDQ zNwtU(a+yQ#cVlD#+SgOaniVo+JE!V>cOC|x;i7e56;SC`_0-OLR+J&APu)#&_J=j8 z$vYJ3Jy+)w{84~Spk#swVu2TNS5OG7+rtm7bJGU{p8Gr~TeyDTW_9WPfaoyJiK1ET z#Y<+J78}LHX3mpBdU;dmTlf!3(qeDMmn}&+j5yTq8Asmjnw{>$XLCOg2Wyh0 zVpcpeJKgr$$EE_F>b-SJHSQ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~|CghlEl2&7A`JkGa19(gtEL9bd~ z_jyl#d9_D@*jD@-v4=I^ai1o)O`+tBD=mwPIUyU7+wgndt8}vTBRKS;NTP^j{(g%VQDf4$ta2Gm_!>v^Imd(TjeWT?Z zF0=Q{b1l5Mg|vmKE5hOGZ|98o>jS#8fclM2F75zrbFNvZ4-w6~2}xwlym)t4J@8t-&&k}O+3w9|=EPc+#hhq9OF|Doa| zWx8^*={?Q*`W*%2`MW82J2FIKXVeNhHx`(8z5#vc0F9{`dg6tnmxhd*jEl9|CdCja zdUgat6aDFReo$vcDbedyBuS-oytj%;E>S)UOsMfG=Lr+%HP@L`K4b z^M!Y!!jO`Q_h%wDR%91bj&Bdi$rb13bsX z7Gl?b$5rR}4?e1H6lPbi4|4eM^XitHdiN@8&u|=SlDqoncSDeq!P11mGsEHwIgu|9 zjR$S3rk>xXWnMhzz z9{p2thpzHvU-}&RRw-hM%F*@ynM!UW793$&+MDmyK>7SRFSE`fopZCBxbxN?@u7~9 zSuqv=VyE50CwEZ;nv@r{W02j(E@oErrNjAU9Q;wbIXk|PD=7YFE zE&Q1%mPlP$h_j8fHIQlyqWi)N)_9-0pOiC4^V;H<4PVqY1y409u5eJTP2BeVZ%6!@ zuz=2AjN0x(Dx~*+pUb$beyi7(g*ETW?a7M~`8JRwR?|1sz|fwCFbJW$I;6p;@>{G; z%jReI7vd2Eh*H$#T^A4GI_(b|H!b!B%CDcInejayfB#Rx7v4%(D9k{M$G@uQ6`wD= zZi}2dVMC^|U4Pb=D9Wz*(`h1-3*(A!`OKkh(*N`K<^TVJu`aO(c%RQN))cHaJ=p(! NWnyS)K-9Y({a;wl)3X2o diff --git a/index.html b/index.html index 0d183d25..1161048c 100644 --- a/index.html +++ b/index.html @@ -122,7 +122,7 @@

    Contributing and copyright

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html index 26b5e45c..fdd7c03c 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -68,8 +68,8 @@

    Functions and values

    tryParseWith func
    - Signature:func:('?5040 -> bool * '?5041) -> '?5040 -> '?5041 option
    - Type parameters: '?5040, '?5041
    + Signature:func:('?5041 -> bool * '?5042) -> '?5041 -> '?5042 option
    + Type parameters: '?5041, '?5042

    Converts a function returning bool,value to a function returning value option. @@ -88,10 +88,10 @@

    Active patterns

    - + ( |Bool|_| ) -
    +
    Signature:string -> bool option
    @@ -144,7 +144,7 @@

    Active patterns

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index 68e1b54e..32d7a01a 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -75,7 +75,7 @@

    Constructors

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/reference/fsharp-configuration-configtypeprovider.html b/reference/fsharp-configuration-configtypeprovider.html index f029dbbb..03f710b6 100644 --- a/reference/fsharp-configuration-configtypeprovider.html +++ b/reference/fsharp-configuration-configtypeprovider.html @@ -73,7 +73,7 @@

    Nested types and modules

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index 4f838a33..a94f26bc 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -103,7 +103,7 @@

    Union Cases

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 74524139..6ac7cbe0 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    @@ -147,10 +147,10 @@

    Static members

    - + Parse(value) -
    +
    Signature:value:string -> Scalar
    @@ -175,7 +175,7 @@

    Static members

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index 286a822d..b11cc7af 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    - + parse -
    +
    Signature:string -> Node
    @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    @@ -115,7 +115,7 @@

    Functions and values

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-root.html index 85bec3f8..f425f7c4 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,45 +130,62 @@

    Instance members

    - + + Save() + +
    + Signature:unit -> unit
    +
    + + +

    Saves configuration as Yaml text into the last file it was loaded (if any). +Throws InvalidOperationException if configuration has not been loaded at all or if it has loaded from +a different kind of source (string or TextReader).

    + + + + + + + Save(filePath) -
    +
    Signature:filePath:string -> unit
    -

    Saves content into a file.

    +

    Saves configuration as Yaml text into a file.

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    -

    Saves content into a TestWriter.

    +

    Saves configuration as Yaml text into a TextWriter.

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    -

    Saves content into a stream.

    +

    Saves configuration as Yaml text into a stream.

    @@ -189,7 +206,7 @@

    Instance members

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/reference/fsharp-configuration-typesfactory-t.html b/reference/fsharp-configuration-typesfactory-t.html index 9d91602f..effec1d6 100644 --- a/reference/fsharp-configuration-typesfactory-t.html +++ b/reference/fsharp-configuration-typesfactory-t.html @@ -47,10 +47,10 @@

    Record Fields

    - + Init -
    +
    Signature:Expr -> Expr
    @@ -61,10 +61,10 @@

    Record Fields

    - + MainType -
    +
    Signature:Type option
    @@ -75,10 +75,10 @@

    Record Fields

    - + Types -
    +
    Signature:MemberInfo list
    @@ -103,7 +103,7 @@

    Record Fields

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index 905f633a..fb1086f8 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -67,12 +67,12 @@

    Functions and values

    - + foldChildren readOnly children -
    - Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4964 -> Expr)
    - Type parameters: '?4964
    +
    + Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4965 -> Expr)
    + Type parameters: '?4965
    @@ -81,10 +81,10 @@

    Functions and values

    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    @@ -95,10 +95,10 @@

    Functions and values

    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    @@ -109,10 +109,10 @@

    Functions and values

    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    @@ -123,10 +123,10 @@

    Functions and values

    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    @@ -145,10 +145,10 @@

    Type extensions

    - + ToExpr() -
    +
    Signature:unit -> Expr
    @@ -173,7 +173,7 @@

    Type extensions

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/reference/fsharp-configuration-yamlconfigprovider.html b/reference/fsharp-configuration-yamlconfigprovider.html index ad8c2a79..ffdc6d55 100644 --- a/reference/fsharp-configuration-yamlconfigprovider.html +++ b/reference/fsharp-configuration-yamlconfigprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> YamlConfigProvider
    @@ -75,7 +75,7 @@

    Constructors

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/reference/index.html b/reference/index.html index 2c34e43d..720d2bf4 100644 --- a/reference/index.html +++ b/reference/index.html @@ -130,7 +130,7 @@

    Samples.FSharp.ProvidedTypes Namespace

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 04181eea..4ea603fe 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -48,10 +48,10 @@

    Constructors

    - + new(assemblyFileName) -
    +
    Signature:assemblyFileName:string -> ProvidedAssembly
    @@ -70,10 +70,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature:(types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    @@ -112,10 +112,10 @@

    Static members

    - + RegisterGenerated(fileName) -
    +
    Signature:fileName:string -> Assembly
    @@ -141,7 +141,7 @@

    Static members

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index b03dd570..8b06b0fe 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature:unit -> unit
    @@ -64,10 +64,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature:folder:string -> unit
    @@ -79,10 +79,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature:cfg:TypeProviderConfig -> unit
    @@ -94,10 +94,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature:ResolveEventArgs -> Assembly
    Modifiers: abstract
    @@ -124,7 +124,7 @@

    Instance members

  • AppSettingsProvider
  • ResXProvider
  • -
  • YamlProvider
  • +
  • YamlConfigProvider
  • From f9371722eb6f37184e165000974cfcae5f38c9cf Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Mon, 7 Apr 2014 21:12:06 +0200 Subject: [PATCH 34/74] Update generated documentation for version 0.2.2 --- ResXProvider.html | 4 +- ...configuration-appsettingstypeprovider.html | 16 ++-- ...eprovider-fsharpconfigurationprovider.html | 4 +- .../fsharp-configuration-parser-node.html | 12 +-- .../fsharp-configuration-parser-scalar.html | 28 +++--- reference/fsharp-configuration-parser.html | 8 +- .../fsharp-configuration-resxprovider.html | 87 +++++++++++++++++++ .../fsharp-configuration-typesfactory.html | 16 ++-- ...harp-configuration-yamlconfigprovider.html | 4 +- reference/index.html | 6 ++ ...fsharp-providedtypes-providedassembly.html | 12 +-- ...ovidedtypes-typeproviderfornamespaces.html | 16 ++-- 12 files changed, 153 insertions(+), 60 deletions(-) create mode 100644 reference/fsharp-configuration-resxprovider.html diff --git a/ResXProvider.html b/ResXProvider.html index e3290b48..e7c4613c 100644 --- a/ResXProvider.html +++ b/ResXProvider.html @@ -85,8 +85,8 @@

    Reading from the resx file

    namespace FSharp
    namespace FSharp.Configuration
    type ResX = ResXProvider<...>

    Full name: ResXProvider.ResX
    -
    type ResXProvider

    Full name: FSharp.Configuration.ResXProvider
    -
    type Resource1 =
      static member AlternativeGreetings : string
      static member Flowers : string
      static member Greetings : string

    Full name: FSharp.Configuration.ResXProvider,file="Resource1.resx".Resource1
    +
    Multiple items
    module ResXProvider

    from FSharp.Configuration

    --------------------
    type ResXProvider

    Full name: FSharp.Configuration.ResXProvider
    +
    type Resource1 =
      static member AlternativeGreetings : string
      static member Flowers : Bitmap
      static member Greetings : string

    Full name: FSharp.Configuration.ResXProvider,file="Resource1.resx".Resource1
    property ResXProvider<...>.Resource1.Greetings: string


    Greetings
    diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html index fdd7c03c..53fb7a3c 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -68,8 +68,8 @@

    Functions and values

    tryParseWith func
    - Signature:func:('?5041 -> bool * '?5042) -> '?5041 -> '?5042 option
    - Type parameters: '?5041, '?5042
    + Signature:func:('?5042 -> bool * '?5043) -> '?5042 -> '?5043 option
    + Type parameters: '?5042, '?5043

    Converts a function returning bool,value to a function returning value option. @@ -88,10 +88,10 @@

    Active patterns

    - + ( |Bool|_| ) -
    +
    Signature:string -> bool option
    @@ -102,10 +102,10 @@

    Active patterns

    - + ( |Double|_| ) text -
    +
    Signature:text:string -> float option
    @@ -116,10 +116,10 @@

    Active patterns

    - + ( |Int|_| ) -
    +
    Signature:string -> int option
    diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index 32d7a01a..dd9fa82b 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html index a94f26bc..af1efe5e 100644 --- a/reference/fsharp-configuration-parser-node.html +++ b/reference/fsharp-configuration-parser-node.html @@ -47,10 +47,10 @@

    Union Cases

    - + List -
    +
    Signature:Node list
    @@ -61,10 +61,10 @@

    Union Cases

    - + Map -
    +
    Signature:(string * Node) list
    @@ -75,10 +75,10 @@

    Union Cases

    - + Scalar -
    +
    Signature:Scalar
    diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html index 6ac7cbe0..23d06810 100644 --- a/reference/fsharp-configuration-parser-scalar.html +++ b/reference/fsharp-configuration-parser-scalar.html @@ -47,10 +47,10 @@

    Union Cases

    - + Bool -
    +
    Signature:bool
    @@ -61,10 +61,10 @@

    Union Cases

    - + Int -
    +
    Signature:int
    @@ -75,10 +75,10 @@

    Union Cases

    - + String -
    +
    Signature:string
    @@ -89,10 +89,10 @@

    Union Cases

    - + TimeSpan -
    +
    Signature:TimeSpan
    @@ -103,10 +103,10 @@

    Union Cases

    - + Uri -
    +
    Signature:Uri
    @@ -125,10 +125,10 @@

    Instance members

    - + UnderlyingType -
    +
    Signature:Type
    @@ -147,10 +147,10 @@

    Static members

    - + Parse(value) -
    +
    Signature:value:string -> Scalar
    diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html index b11cc7af..5ab1f7a3 100644 --- a/reference/fsharp-configuration-parser.html +++ b/reference/fsharp-configuration-parser.html @@ -73,10 +73,10 @@

    Functions and values

    - + parse -
    +
    Signature:string -> Node
    @@ -87,10 +87,10 @@

    Functions and values

    - + update target updater -
    +
    Signature:target:'a -> updater:Node -> unit
    Type parameters: 'a
    diff --git a/reference/fsharp-configuration-resxprovider.html b/reference/fsharp-configuration-resxprovider.html new file mode 100644 index 00000000..046b5aa0 --- /dev/null +++ b/reference/fsharp-configuration-resxprovider.html @@ -0,0 +1,87 @@ + + + + + ResXProvider - FSharp.Configuration + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + +

    ResXProvider

    +
    +
    + + + +

    Functions and values

    + + + + + + + + + + +
    Function or valueDescription
    + + + readValue (filepath, name) + +
    + Signature:(filepath:string * name:string) -> obj
    +
    +
    + +
    + +
    + +
    +
    + Fork me on GitHub + + diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html index fb1086f8..62e3f109 100644 --- a/reference/fsharp-configuration-typesfactory.html +++ b/reference/fsharp-configuration-typesfactory.html @@ -81,10 +81,10 @@

    Functions and values

    - + transform readOnly name node -
    +
    Signature:readOnly:bool -> name:string option -> node:Node -> T
    @@ -95,10 +95,10 @@

    Functions and values

    - + transformList readOnly name children -
    +
    Signature:readOnly:bool -> name:string -> children:Node list -> T
    @@ -109,10 +109,10 @@

    Functions and values

    - + transformMap readOnly name children -
    +
    Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    @@ -123,10 +123,10 @@

    Functions and values

    - + transformScalar readOnly name node -
    +
    Signature:readOnly:bool -> name:string -> node:Scalar -> T
    diff --git a/reference/fsharp-configuration-yamlconfigprovider.html b/reference/fsharp-configuration-yamlconfigprovider.html index ffdc6d55..cfbf39df 100644 --- a/reference/fsharp-configuration-yamlconfigprovider.html +++ b/reference/fsharp-configuration-yamlconfigprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> YamlConfigProvider
    diff --git a/reference/index.html b/reference/index.html index 720d2bf4..9491cfe7 100644 --- a/reference/index.html +++ b/reference/index.html @@ -79,6 +79,12 @@

    FSharp.Configuration Namespace

    + + + ResXProvider + + + TypesFactory diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 4ea603fe..7023d155 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -48,10 +48,10 @@

    Constructors

    - + new(assemblyFileName) -
    +
    Signature:assemblyFileName:string -> ProvidedAssembly
    @@ -84,10 +84,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature:(types:ProvidedTypeDefinition list) -> unit
    @@ -112,10 +112,10 @@

    Static members

    - + RegisterGenerated(fileName) -
    +
    Signature:fileName:string -> Assembly
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 8b06b0fe..c97a621a 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature:unit -> unit
    @@ -64,10 +64,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature:folder:string -> unit
    @@ -79,10 +79,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature:cfg:TypeProviderConfig -> unit
    @@ -94,10 +94,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature:ResolveEventArgs -> Assembly
    Modifiers: abstract
    From dd9c098248a7cb98dffb3b65034a4c7447a698c2 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Fri, 19 Sep 2014 20:28:20 +0200 Subject: [PATCH 35/74] Update generated documentation for version 0.3.0 --- AppSettingsProvider.html | 2 + YamlConfigProvider.html | 4 +- index.html | 2 +- ...configuration-appsettingstypeprovider.html | 64 +----- ...eprovider-fsharpconfigurationprovider.html | 4 +- .../fsharp-configuration-parser-node.html | 112 ----------- .../fsharp-configuration-parser-scalar.html | 184 ------------------ reference/fsharp-configuration-parser.html | 124 ------------ .../fsharp-configuration-resxprovider.html | 8 +- .../fsharp-configuration-typesfactory-t.html | 112 ----------- .../fsharp-configuration-typesfactory.html | 182 ----------------- ...guration-yamlconfigtypeprovider-root.html} | 36 ++-- ...configuration-yamlconfigtypeprovider.html} | 36 ++-- reference/index.html | 29 +-- ...fsharp-providedtypes-providedassembly.html | 16 +- ...ovidedtypes-typeproviderfornamespaces.html | 16 +- 16 files changed, 70 insertions(+), 861 deletions(-) delete mode 100644 reference/fsharp-configuration-parser-node.html delete mode 100644 reference/fsharp-configuration-parser-scalar.html delete mode 100644 reference/fsharp-configuration-parser.html delete mode 100644 reference/fsharp-configuration-typesfactory-t.html delete mode 100644 reference/fsharp-configuration-typesfactory.html rename reference/{fsharp-configuration-root.html => fsharp-configuration-yamlconfigtypeprovider-root.html} (84%) rename reference/{fsharp-configuration-yamlconfigprovider.html => fsharp-configuration-yamlconfigtypeprovider.html} (82%) diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html index f36b096a..97f4ba32 100644 --- a/AppSettingsProvider.html +++ b/AppSettingsProvider.html @@ -49,6 +49,8 @@

    Using App.Settings from F# scripts

    <add key="TestInt" value="102"/> <add key="TestBool" value="True"/> <add key="TestDouble" value="10.01"/> + <add key="TestDateTime" value="2014-05-18 11:14:28Z"/> + <add key="TestTimeSpan" value="00:12:30"/> </appSettings> </configuration> diff --git a/YamlConfigProvider.html b/YamlConfigProvider.html index d2bd3213..46f5994c 100644 --- a/YamlConfigProvider.html +++ b/YamlConfigProvider.html @@ -371,7 +371,7 @@

    The Changed event

    val config : TestConfig

    Full name: YamlConfigProvider.config
    property TestConfig.DB: TestConfig.DB_Type
    property TestConfig.DB_Type.ConnectionString: string
    -
    member Root.Save : unit -> unit
    member Root.Save : filePath:string -> unit
    member Root.Save : writer:System.IO.TextWriter -> unit
    member Root.Save : stream:System.IO.Stream -> unit
    +
    member YamlConfigTypeProvider.Root.Save : unit -> unit
    member YamlConfigTypeProvider.Root.Save : filePath:string -> unit
    member YamlConfigTypeProvider.Root.Save : writer:System.IO.TextWriter -> unit
    member YamlConfigTypeProvider.Root.Save : stream:System.IO.Stream -> unit
    Multiple items
    type Config =
      inherit Root
      new : unit -> Config
      event Changed : EventHandler
      member DB : DB_Type
      member Mail : Mail_Type
      nested type DB_Type
      nested type Mail_Type

    Full name: YamlConfigProvider.Config

    --------------------
    Config() : Config
    val pop3host : string

    Full name: YamlConfigProvider.pop3host
    property TestConfig.Mail: TestConfig.Mail_Type
    @@ -393,7 +393,7 @@

    The Changed event

    event Config.Mail_Type.Pop3_Type.Changed: IEvent<System.EventHandler,System.EventArgs>
    property Config.DB: Config.DB_Type
    event Config.DB_Type.Changed: IEvent<System.EventHandler,System.EventArgs>
    -
    member Root.LoadText : yamlText:string -> unit
    +
    member YamlConfigTypeProvider.Root.LoadText : yamlText:string -> unit
    val ignore : value:'T -> unit

    Full name: Microsoft.FSharp.Core.Operators.ignore
    diff --git a/index.html b/index.html index 1161048c..1d42d861 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@

    FSharp.Configuration

    diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html index 53fb7a3c..efe144ce 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -51,10 +51,10 @@

    Functions and values

    - getConfigValue (filePath, key) + getConfigValue key
    - Signature:(filePath:string * key:string) -> string
    + Signature:key:string -> string
    @@ -64,63 +64,11 @@

    Functions and values

    - - tryParseWith func + + setConfigValue (key, value) -
    - Signature:func:('?5042 -> bool * '?5043) -> '?5042 -> '?5043 option
    - Type parameters: '?5042, '?5043
    - - -

    Converts a function returning bool,value to a function returning value option. -Useful to process TryXX style functions.

    - - - - - -

    Active patterns

    - - - - - - - - - - - - - - - diff --git a/reference/fsharp-configuration-parser-node.html b/reference/fsharp-configuration-parser-node.html deleted file mode 100644 index af1efe5e..00000000 --- a/reference/fsharp-configuration-parser-node.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - Node - FSharp.Configuration - - - - - - - - - - - - - - - -
    - -
    -
    -
    - - - - -

    Node

    -
    -
    -

    Union Cases

    -
    Active patternDescription
    - - - ( |Bool|_| ) - -
    - Signature:string -> bool option
    -
    -
    - -
    - - - ( |Double|_| ) text - -
    - Signature:text:string -> float option
    -
    -
    - -
    - - - ( |Int|_| ) - -
    - Signature:string -> int option
    +
    + Signature:(key:string * value:string) -> unit
    diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index dd9fa82b..e8aace36 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature:cfg:TypeProviderConfig -> FSharpConfigurationProvider
    - - - - - - - - - - - - - - - - - -
    Union CaseDescription
    - - - List - -
    - Signature:Node list
    -
    -
    - -
    - - - Map - -
    - Signature:(string * Node) list
    -
    -
    - -
    - - - Scalar - -
    - Signature:Scalar
    -
    -
    - -
    - -
    - -
    -
    - Fork me on GitHub - - diff --git a/reference/fsharp-configuration-parser-scalar.html b/reference/fsharp-configuration-parser-scalar.html deleted file mode 100644 index 23d06810..00000000 --- a/reference/fsharp-configuration-parser-scalar.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - Scalar - FSharp.Configuration - - - - - - - - - - - - - - - -
    - -
    -
    -
    - - - - -

    Scalar

    -
    -
    -

    Union Cases

    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Union CaseDescription
    - - - Bool - -
    - Signature:bool
    -
    -
    - -
    - - - Int - -
    - Signature:int
    -
    -
    - -
    - - - String - -
    - Signature:string
    -
    -
    - -
    - - - TimeSpan - -
    - Signature:TimeSpan
    -
    -
    - -
    - - - Uri - -
    - Signature:Uri
    -
    -
    - -
    -

    Instance members

    - - - - - - - - - - -
    Instance memberDescription
    - - - UnderlyingType - -
    - Signature:Type
    -
    -
    - -
    -

    Static members

    - - - - - - - - - - -
    Static memberDescription
    - - - Parse(value) - -
    - Signature:value:string -> Scalar
    -
    -
    - -
    - -
    - -
    -
    - Fork me on GitHub - - diff --git a/reference/fsharp-configuration-parser.html b/reference/fsharp-configuration-parser.html deleted file mode 100644 index 5ab1f7a3..00000000 --- a/reference/fsharp-configuration-parser.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - Parser - FSharp.Configuration - - - - - - - - - - - - - - - -
    - -
    -
    -
    - - - - -

    Parser

    -
    -
    - - -

    Nested types and modules

    -
    - - - - - - - - - - - - - - -
    TypeDescription
    - Node -
    - Scalar -
    - -
    - -

    Functions and values

    - - - - - - - - - - - - - - -
    Function or valueDescription
    - - - parse - -
    - Signature:string -> Node
    -
    -
    - -
    - - - update target updater - -
    - Signature:target:'a -> updater:Node -> unit
    - Type parameters: 'a
    -
    - -
    - -
    - -
    -
    - Fork me on GitHub - - diff --git a/reference/fsharp-configuration-resxprovider.html b/reference/fsharp-configuration-resxprovider.html index 046b5aa0..f1e75f43 100644 --- a/reference/fsharp-configuration-resxprovider.html +++ b/reference/fsharp-configuration-resxprovider.html @@ -50,11 +50,11 @@

    Functions and values

    - - readValue (filepath, name) + + readValue (filePath, name) -
    - Signature:(filepath:string * name:string) -> obj
    +
    + Signature:(filePath:FilePath * name:string) -> obj
    diff --git a/reference/fsharp-configuration-typesfactory-t.html b/reference/fsharp-configuration-typesfactory-t.html deleted file mode 100644 index effec1d6..00000000 --- a/reference/fsharp-configuration-typesfactory-t.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - T - FSharp.Configuration - - - - - - - - - - - - - - - -
    - -
    -
    -
    - - - - -

    T

    -
    -
    -

    Record Fields

    - - - - - - - - - - - - - - - - - - -
    Record FieldDescription
    - - - Init - -
    - Signature:Expr -> Expr
    -
    -
    - -
    - - - MainType - -
    - Signature:Type option
    -
    -
    - -
    - - - Types - -
    - Signature:MemberInfo list
    -
    -
    - -
    - -
    - -
    -
    - Fork me on GitHub - - diff --git a/reference/fsharp-configuration-typesfactory.html b/reference/fsharp-configuration-typesfactory.html deleted file mode 100644 index 62e3f109..00000000 --- a/reference/fsharp-configuration-typesfactory.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - TypesFactory - FSharp.Configuration - - - - - - - - - - - - - - - -
    - -
    -
    -
    - - - - -

    TypesFactory

    -
    -
    - - -

    Nested types and modules

    -
    - - - - - - - - - - -
    TypeDescription
    - T -
    - -
    - -

    Functions and values

    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Function or valueDescription
    - - - foldChildren readOnly children - -
    - Signature:readOnly:bool -> children:(string * Node) list -> MemberInfo list * ('?4965 -> Expr)
    - Type parameters: '?4965
    -
    - -
    - - - transform readOnly name node - -
    - Signature:readOnly:bool -> name:string option -> node:Node -> T
    -
    -
    - -
    - - - transformList readOnly name children - -
    - Signature:readOnly:bool -> name:string -> children:Node list -> T
    -
    -
    - -
    - - - transformMap readOnly name children - -
    - Signature:readOnly:bool -> name:string option -> children:(string * Node) list -> T
    -
    -
    - -
    - - - transformScalar readOnly name node - -
    - Signature:readOnly:bool -> name:string -> node:Scalar -> T
    -
    -
    - -
    -

    Type extensions

    - - - - - - - - - - -
    Type extensionDescription
    - - - ToExpr() - -
    - Signature:unit -> Expr
    -
    -
    - -
    - -
    - -
    -
    - Fork me on GitHub - - diff --git a/reference/fsharp-configuration-root.html b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html similarity index 84% rename from reference/fsharp-configuration-root.html rename to reference/fsharp-configuration-yamlconfigtypeprovider-root.html index f425f7c4..2743f75f 100644 --- a/reference/fsharp-configuration-root.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature:unit -> Root
    @@ -69,10 +69,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -84,10 +84,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature:reader:TextReader -> unit
    @@ -99,10 +99,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature:filePath:string -> IDisposable
    @@ -115,10 +115,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature:yamlText:string -> unit
    @@ -130,10 +130,10 @@

    Instance members

    - + Save() -
    +
    Signature:unit -> unit
    @@ -147,10 +147,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature:filePath:string -> unit
    @@ -162,10 +162,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature:writer:TextWriter -> unit
    @@ -177,10 +177,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature:stream:Stream -> unit
    diff --git a/reference/fsharp-configuration-yamlconfigprovider.html b/reference/fsharp-configuration-yamlconfigtypeprovider.html similarity index 82% rename from reference/fsharp-configuration-yamlconfigprovider.html rename to reference/fsharp-configuration-yamlconfigtypeprovider.html index cfbf39df..b0e081b3 100644 --- a/reference/fsharp-configuration-yamlconfigprovider.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider.html @@ -2,7 +2,7 @@ - YamlConfigProvider - FSharp.Configuration + YamlConfigTypeProvider - FSharp.Configuration @@ -35,32 +35,30 @@

    FSharp.Configuratio -

    YamlConfigProvider

    +

    YamlConfigTypeProvider

    -

    Constructors

    - + + +

    Nested types and modules

    +
    +
    - + - - - - + + + +
    ConstructorDescription
    TypeDescription
    - - - new(cfg) - -
    - Signature:cfg:TypeProviderConfig -> YamlConfigProvider
    -
    -
    - -
    + Root +
    +

    + +
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 6e658706..3fdab0df 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -5,7 +5,7 @@ ProvidedAssembly - FSharp.Configuration - + @@ -48,15 +48,19 @@

    Constructors

    - + new(assemblyFileName) -
    - Signature:assemblyFileName:string -> ProvidedAssembly
    +
    + Signature: assemblyFileName:string -> ProvidedAssembly
    - +
    + + + + @@ -70,29 +74,37 @@

    Instance members

    - + AddNestedTypes(...) -
    - Signature:(types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    +
    + Signature: (types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    - + + + + + - + AddTypes(types) -
    - Signature:(types:ProvidedTypeDefinition list) -> unit
    +
    + Signature: (types:ProvidedTypeDefinition list) -> unit
    -

    Emit the given provided type definitions as part of the assembly + + + + +

    Emit the given provided type definitions as part of the assembly and adjust the 'Assembly' property of all provided type definitions to return that assembly.

    @@ -112,15 +124,19 @@

    Static members

    - + RegisterGenerated(fileName) -
    - Signature:fileName:string -> Assembly
    +
    + Signature: fileName:string -> Assembly
    -

    Register that a given file is a provided generated assembly

    + + + + +

    Register that a given file is a provided generated assembly

    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 3eb188d5..1271f551 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -5,7 +5,7 @@ TypeProviderForNamespaces - FSharp.Configuration - + @@ -49,61 +49,77 @@

    Instance members

    - + Invalidate() -
    - Signature:unit -> unit
    +
    + Signature: unit -> unit
    -

    Invalidate the information provided by the provider

    + + + + +

    Invalidate the information provided by the provider

    - + RegisterProbingFolder(folder) -
    - Signature:folder:string -> unit
    +
    + Signature: folder:string -> unit
    -

    Registers custom probing path that can be used for probing assemblies

    + + + + +

    Registers custom probing path that can be used for probing assemblies

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    - Signature:cfg:TypeProviderConfig -> unit
    +
    + Signature: cfg:TypeProviderConfig -> unit
    -

    Registers location of RuntimeAssembly (from TypeProviderConfig) as probing folder

    + + + + +

    Registers location of RuntimeAssembly (from TypeProviderConfig) as probing folder

    - + ResolveAssembly(arg1) -
    - Signature:ResolveEventArgs -> Assembly
    +
    + Signature: ResolveEventArgs -> Assembly
    Modifiers: abstract
    -

    AssemblyResolve handler. Default implementation searches .dll file in registered folders

    + + + + +

    AssemblyResolve handler. Default implementation searches .dll file in registered folders

    From d24bc1471bffa70fca335c4788d219d01ce24d2b Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Sat, 20 Sep 2014 09:52:43 +0200 Subject: [PATCH 37/74] Update generated documentation for version 0.4.1 --- .../fsharp-configuration-appsettings.html | 4 +-- ...configuration-appsettingstypeprovider.html | 4 +-- ...eprovider-fsharpconfigurationprovider.html | 4 +-- reference/fsharp-configuration-inifile.html | 4 +-- ...figuration-inifileprovider-parser-key.html | 8 ++--- ...ration-inifileprovider-parser-section.html | 8 ++--- ...on-inifileprovider-parser-sectionname.html | 8 ++--- ...ration-inifileprovider-parser-setting.html | 8 ++--- ...guration-inifileprovider-parser-value.html | 8 ++--- ...-configuration-inifileprovider-parser.html | 12 +++---- .../fsharp-configuration-inifileprovider.html | 4 +-- .../fsharp-configuration-resxprovider-0.html | 4 +-- .../fsharp-configuration-resxprovider.html | 4 +-- .../fsharp-configuration-yamlconfig.html | 4 +-- ...iguration-yamlconfigtypeprovider-root.html | 36 +++++++++---------- 15 files changed, 60 insertions(+), 60 deletions(-) diff --git a/reference/fsharp-configuration-appsettings.html b/reference/fsharp-configuration-appsettings.html index 7bb98309..15ca532e 100644 --- a/reference/fsharp-configuration-appsettings.html +++ b/reference/fsharp-configuration-appsettings.html @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html index d39d716e..7a28a414 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -50,10 +50,10 @@

    Functions and values

    - + getConfigValue key -
    +
    Signature: key:string -> string
    diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index 2527b287..260b850f 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature: cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-inifile.html b/reference/fsharp-configuration-inifile.html index ab69904e..f9829e55 100644 --- a/reference/fsharp-configuration-inifile.html +++ b/reference/fsharp-configuration-inifile.html @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-key.html b/reference/fsharp-configuration-inifileprovider-parser-key.html index a11c4645..2342ff1e 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-key.html +++ b/reference/fsharp-configuration-inifileprovider-parser-key.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-section.html b/reference/fsharp-configuration-inifileprovider-parser-section.html index a5500dc5..09764771 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-section.html +++ b/reference/fsharp-configuration-inifileprovider-parser-section.html @@ -47,10 +47,10 @@

    Record Fields

    - + Name -
    +
    Signature: SectionName
    @@ -65,10 +65,10 @@

    Record Fields

    - + Settings -
    +
    Signature: Setting list
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html index b29b29ab..cf9121be 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html +++ b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-setting.html b/reference/fsharp-configuration-inifileprovider-parser-setting.html index bbb9d755..e9dfbce5 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-setting.html +++ b/reference/fsharp-configuration-inifileprovider-parser-setting.html @@ -47,10 +47,10 @@

    Record Fields

    - + Key -
    +
    Signature: Key
    @@ -65,10 +65,10 @@

    Record Fields

    - + Value -
    +
    Signature: Value
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-value.html b/reference/fsharp-configuration-inifileprovider-parser-value.html index 34beb035..fd8b87ca 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-value.html +++ b/reference/fsharp-configuration-inifileprovider-parser-value.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser.html b/reference/fsharp-configuration-inifileprovider-parser.html index 20ff41d8..a2e8d028 100644 --- a/reference/fsharp-configuration-inifileprovider-parser.html +++ b/reference/fsharp-configuration-inifileprovider-parser.html @@ -97,10 +97,10 @@

    Functions and values

    - + parse path -
    +
    Signature: path:string -> Choice<Section list,Stream>
    @@ -115,10 +115,10 @@

    Functions and values

    - + streamOfFile path -
    +
    Signature: path:string -> Stream
    @@ -133,10 +133,10 @@

    Functions and values

    - + streamOfLines lines -
    +
    Signature: lines:seq<string> -> Stream
    diff --git a/reference/fsharp-configuration-inifileprovider.html b/reference/fsharp-configuration-inifileprovider.html index 8a29cef5..7574783a 100644 --- a/reference/fsharp-configuration-inifileprovider.html +++ b/reference/fsharp-configuration-inifileprovider.html @@ -67,10 +67,10 @@

    Functions and values

    - + getValue iniFileName section key -
    +
    Signature: iniFileName:string -> section:string -> key:string -> Value option
    diff --git a/reference/fsharp-configuration-resxprovider-0.html b/reference/fsharp-configuration-resxprovider-0.html index 5f30d2b3..d328aa4e 100644 --- a/reference/fsharp-configuration-resxprovider-0.html +++ b/reference/fsharp-configuration-resxprovider-0.html @@ -47,10 +47,10 @@

    Static parameters

    - + file -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-resxprovider.html b/reference/fsharp-configuration-resxprovider.html index e4ebe6c0..0591874e 100644 --- a/reference/fsharp-configuration-resxprovider.html +++ b/reference/fsharp-configuration-resxprovider.html @@ -50,10 +50,10 @@

    Functions and values

    - + readValue (filePath, name) -
    +
    Signature: (filePath:FilePath * name:string) -> obj
    diff --git a/reference/fsharp-configuration-yamlconfig.html b/reference/fsharp-configuration-yamlconfig.html index 3a3c5c45..0bd17396 100644 --- a/reference/fsharp-configuration-yamlconfig.html +++ b/reference/fsharp-configuration-yamlconfig.html @@ -48,10 +48,10 @@

    Static parameters

    - + FilePath -
    +
    Signature: string (optional, default = "")
    diff --git a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html index 71aa80f7..b38be383 100644 --- a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature: unit -> Root
    @@ -73,10 +73,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -92,10 +92,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature: reader:TextReader -> unit
    @@ -111,10 +111,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature: filePath:string -> IDisposable
    @@ -131,10 +131,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature: yamlText:string -> unit
    @@ -150,10 +150,10 @@

    Instance members

    - + Save() -
    +
    Signature: unit -> unit
    @@ -171,10 +171,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -190,10 +190,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature: writer:TextWriter -> unit
    @@ -209,10 +209,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature: stream:Stream -> unit
    From f9389cd0c81b4f74ebe1e92580176779f20a75de Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Sat, 20 Sep 2014 09:54:59 +0200 Subject: [PATCH 38/74] Update generated documentation for version 0.4.1 --- YamlConfigProvider.html | 2 +- ...configuration-appsettingstypeprovider.html | 8 ++--- ...eprovider-fsharpconfigurationprovider.html | 4 +-- ...figuration-inifileprovider-parser-key.html | 8 ++--- ...ration-inifileprovider-parser-section.html | 8 ++--- ...on-inifileprovider-parser-sectionname.html | 8 ++--- ...ration-inifileprovider-parser-setting.html | 8 ++--- ...guration-inifileprovider-parser-value.html | 4 +-- ...-configuration-inifileprovider-parser.html | 12 +++---- .../fsharp-configuration-inifileprovider.html | 4 +-- .../fsharp-configuration-resxprovider.html | 4 +-- ...iguration-yamlconfigtypeprovider-root.html | 36 +++++++++---------- 12 files changed, 53 insertions(+), 53 deletions(-) diff --git a/YamlConfigProvider.html b/YamlConfigProvider.html index 3461f872..79949426 100644 --- a/YamlConfigProvider.html +++ b/YamlConfigProvider.html @@ -367,7 +367,7 @@

    The Cha
    namespace FSharp
    namespace FSharp.Configuration
    Multiple items
    type TestConfig =
      inherit Root
      new : unit -> TestConfig
      event Changed : EventHandler
      member DB : DB_Type
      member Mail : Mail_Type
      nested type DB_Type
      nested type Mail_Type

    Full name: YamlConfigProvider.TestConfig

    --------------------
    TestConfig() : TestConfig
    -
    type YamlConfig =
      inherit Root

    Full name: FSharp.Configuration.YamlConfig


    <summary>Statically typed YAML config.</summary>
               <param name='FilePath'>Path to YAML file.</param>
               <param name='ReadOnly'>Whether the resulting properties will be read-only or not.</param>
               <param name='YamlText'>Yaml as text. Mutually exclusive with FilePath parameter.</param>
    +
    type YamlConfig =
      inherit Root

    Full name: FSharp.Configuration.YamlConfig


    <summary>Statically typed YAML config.</summary>
               <param name='FilePath'>Path to YAML file.</param>
               <param name='ReadOnly'>Whether the resulting properties will be read-only or not.</param>
               <param name='YamlText'>Yaml as text. Mutually exclusive with FilePath parameter.</param>
    val config : TestConfig

    Full name: YamlConfigProvider.config
    property TestConfig.DB: TestConfig.DB_Type
    property TestConfig.DB_Type.ConnectionString: string
    diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html index 7a28a414..f41b2ad7 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -50,10 +50,10 @@

    Functions and values

    - + getConfigValue key -
    +
    Signature: key:string -> string
    @@ -68,10 +68,10 @@

    Functions and values

    - + setConfigValue (key, value) -
    +
    Signature: (key:string * value:string) -> unit
    diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index 260b850f..2527b287 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature: cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-key.html b/reference/fsharp-configuration-inifileprovider-parser-key.html index 2342ff1e..a11c4645 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-key.html +++ b/reference/fsharp-configuration-inifileprovider-parser-key.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-section.html b/reference/fsharp-configuration-inifileprovider-parser-section.html index 09764771..a5500dc5 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-section.html +++ b/reference/fsharp-configuration-inifileprovider-parser-section.html @@ -47,10 +47,10 @@

    Record Fields

    - + Name -
    +
    Signature: SectionName
    @@ -65,10 +65,10 @@

    Record Fields

    - + Settings -
    +
    Signature: Setting list
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html index cf9121be..958534e0 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html +++ b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-setting.html b/reference/fsharp-configuration-inifileprovider-parser-setting.html index e9dfbce5..bbb9d755 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-setting.html +++ b/reference/fsharp-configuration-inifileprovider-parser-setting.html @@ -47,10 +47,10 @@

    Record Fields

    - + Key -
    +
    Signature: Key
    @@ -65,10 +65,10 @@

    Record Fields

    - + Value -
    +
    Signature: Value
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-value.html b/reference/fsharp-configuration-inifileprovider-parser-value.html index fd8b87ca..ca769fd4 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-value.html +++ b/reference/fsharp-configuration-inifileprovider-parser-value.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    diff --git a/reference/fsharp-configuration-inifileprovider-parser.html b/reference/fsharp-configuration-inifileprovider-parser.html index a2e8d028..20ff41d8 100644 --- a/reference/fsharp-configuration-inifileprovider-parser.html +++ b/reference/fsharp-configuration-inifileprovider-parser.html @@ -97,10 +97,10 @@

    Functions and values

    - + parse path -
    +
    Signature: path:string -> Choice<Section list,Stream>
    @@ -115,10 +115,10 @@

    Functions and values

    - + streamOfFile path -
    +
    Signature: path:string -> Stream
    @@ -133,10 +133,10 @@

    Functions and values

    - + streamOfLines lines -
    +
    Signature: lines:seq<string> -> Stream
    diff --git a/reference/fsharp-configuration-inifileprovider.html b/reference/fsharp-configuration-inifileprovider.html index 7574783a..8a29cef5 100644 --- a/reference/fsharp-configuration-inifileprovider.html +++ b/reference/fsharp-configuration-inifileprovider.html @@ -67,10 +67,10 @@

    Functions and values

    - + getValue iniFileName section key -
    +
    Signature: iniFileName:string -> section:string -> key:string -> Value option
    diff --git a/reference/fsharp-configuration-resxprovider.html b/reference/fsharp-configuration-resxprovider.html index 0591874e..fd21be76 100644 --- a/reference/fsharp-configuration-resxprovider.html +++ b/reference/fsharp-configuration-resxprovider.html @@ -50,10 +50,10 @@

    Functions and values

    - + readValue (filePath, name) -
    +
    Signature: (filePath:FilePath * name:string) -> obj
    diff --git a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html index b38be383..1ae3698a 100644 --- a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature: unit -> Root
    @@ -73,10 +73,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -92,10 +92,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature: reader:TextReader -> unit
    @@ -111,10 +111,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature: filePath:string -> IDisposable
    @@ -131,10 +131,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature: yamlText:string -> unit
    @@ -150,10 +150,10 @@

    Instance members

    - + Save() -
    +
    Signature: unit -> unit
    @@ -171,10 +171,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -190,10 +190,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature: writer:TextWriter -> unit
    @@ -209,10 +209,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature: stream:Stream -> unit
    From 387cfad99f0edd560bb03b5480e0bd6c438d046e Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Sat, 20 Sep 2014 10:00:23 +0200 Subject: [PATCH 39/74] Update generated documentation for version 0.4.1 --- .../fsharp-configuration-appsettings.html | 4 +-- ...configuration-appsettingstypeprovider.html | 8 ++--- ...eprovider-fsharpconfigurationprovider.html | 4 +-- reference/fsharp-configuration-inifile.html | 4 +-- ...figuration-inifileprovider-parser-key.html | 8 ++--- ...ration-inifileprovider-parser-section.html | 8 ++--- ...on-inifileprovider-parser-sectionname.html | 8 ++--- ...ration-inifileprovider-parser-setting.html | 8 ++--- ...guration-inifileprovider-parser-value.html | 8 ++--- .../fsharp-configuration-resxprovider-0.html | 4 +-- .../fsharp-configuration-resxprovider.html | 4 +-- .../fsharp-configuration-yamlconfig.html | 12 +++---- ...iguration-yamlconfigtypeprovider-root.html | 36 +++++++++---------- 13 files changed, 58 insertions(+), 58 deletions(-) diff --git a/reference/fsharp-configuration-appsettings.html b/reference/fsharp-configuration-appsettings.html index 15ca532e..7bb98309 100644 --- a/reference/fsharp-configuration-appsettings.html +++ b/reference/fsharp-configuration-appsettings.html @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html index f41b2ad7..7a28a414 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -50,10 +50,10 @@

    Functions and values

    - + getConfigValue key -
    +
    Signature: key:string -> string
    @@ -68,10 +68,10 @@

    Functions and values

    - + setConfigValue (key, value) -
    +
    Signature: (key:string * value:string) -> unit
    diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index 2527b287..260b850f 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature: cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-inifile.html b/reference/fsharp-configuration-inifile.html index f9829e55..ab69904e 100644 --- a/reference/fsharp-configuration-inifile.html +++ b/reference/fsharp-configuration-inifile.html @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-key.html b/reference/fsharp-configuration-inifileprovider-parser-key.html index a11c4645..2342ff1e 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-key.html +++ b/reference/fsharp-configuration-inifileprovider-parser-key.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-section.html b/reference/fsharp-configuration-inifileprovider-parser-section.html index a5500dc5..09764771 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-section.html +++ b/reference/fsharp-configuration-inifileprovider-parser-section.html @@ -47,10 +47,10 @@

    Record Fields

    - + Name -
    +
    Signature: SectionName
    @@ -65,10 +65,10 @@

    Record Fields

    - + Settings -
    +
    Signature: Setting list
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html index 958534e0..1fffc2c1 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html +++ b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-setting.html b/reference/fsharp-configuration-inifileprovider-parser-setting.html index bbb9d755..e9dfbce5 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-setting.html +++ b/reference/fsharp-configuration-inifileprovider-parser-setting.html @@ -47,10 +47,10 @@

    Record Fields

    - + Key -
    +
    Signature: Key
    @@ -65,10 +65,10 @@

    Record Fields

    - + Value -
    +
    Signature: Value
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-value.html b/reference/fsharp-configuration-inifileprovider-parser-value.html index ca769fd4..6f7a13ec 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-value.html +++ b/reference/fsharp-configuration-inifileprovider-parser-value.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-resxprovider-0.html b/reference/fsharp-configuration-resxprovider-0.html index d328aa4e..3e9848b6 100644 --- a/reference/fsharp-configuration-resxprovider-0.html +++ b/reference/fsharp-configuration-resxprovider-0.html @@ -47,10 +47,10 @@

    Static parameters

    - + file -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-resxprovider.html b/reference/fsharp-configuration-resxprovider.html index fd21be76..0591874e 100644 --- a/reference/fsharp-configuration-resxprovider.html +++ b/reference/fsharp-configuration-resxprovider.html @@ -50,10 +50,10 @@

    Functions and values

    - + readValue (filePath, name) -
    +
    Signature: (filePath:FilePath * name:string) -> obj
    diff --git a/reference/fsharp-configuration-yamlconfig.html b/reference/fsharp-configuration-yamlconfig.html index 0bd17396..fb4c5256 100644 --- a/reference/fsharp-configuration-yamlconfig.html +++ b/reference/fsharp-configuration-yamlconfig.html @@ -48,10 +48,10 @@

    Static parameters

    - + FilePath -
    +
    Signature: string (optional, default = "")
    @@ -67,10 +67,10 @@

    Static parameters

    - + ReadOnly -
    +
    Signature: bool (optional, default = false)
    @@ -86,10 +86,10 @@

    Static parameters

    - + YamlText -
    +
    Signature: string (optional, default = "")
    diff --git a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html index 1ae3698a..b38be383 100644 --- a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature: unit -> Root
    @@ -73,10 +73,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -92,10 +92,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature: reader:TextReader -> unit
    @@ -111,10 +111,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature: filePath:string -> IDisposable
    @@ -131,10 +131,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature: yamlText:string -> unit
    @@ -150,10 +150,10 @@

    Instance members

    - + Save() -
    +
    Signature: unit -> unit
    @@ -171,10 +171,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -190,10 +190,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature: writer:TextWriter -> unit
    @@ -209,10 +209,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature: stream:Stream -> unit
    From e6e3c222ccc75c53cb9c6bf884e385da498471f2 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Sat, 20 Sep 2014 10:02:11 +0200 Subject: [PATCH 40/74] Update generated documentation for version 0.4.1 --- reference/fsharp-configuration-appsettings.html | 4 ++-- ...fsharp-configuration-appsettingstypeprovider.html | 4 ++-- ...arp-configuration-inifileprovider-parser-key.html | 8 ++++---- ...configuration-inifileprovider-parser-section.html | 8 ++++---- ...iguration-inifileprovider-parser-sectionname.html | 8 ++++---- ...configuration-inifileprovider-parser-setting.html | 8 ++++---- ...p-configuration-inifileprovider-parser-value.html | 4 ++-- .../fsharp-configuration-inifileprovider-parser.html | 12 ++++++------ reference/fsharp-configuration-inifileprovider.html | 4 ++-- reference/fsharp-configuration-resxprovider-0.html | 4 ++-- reference/fsharp-configuration-resxprovider.html | 4 ++-- reference/fsharp-configuration-yamlconfig.html | 12 ++++++------ ...rp-configuration-yamlconfigtypeprovider-root.html | 4 ++-- ...amples-fsharp-providedtypes-providedassembly.html | 4 ++-- ...harp-providedtypes-typeproviderfornamespaces.html | 12 ++++++------ 15 files changed, 50 insertions(+), 50 deletions(-) diff --git a/reference/fsharp-configuration-appsettings.html b/reference/fsharp-configuration-appsettings.html index 7bb98309..d91a7482 100644 --- a/reference/fsharp-configuration-appsettings.html +++ b/reference/fsharp-configuration-appsettings.html @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html index 7a28a414..d39d716e 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -50,10 +50,10 @@

    Functions and values

    - + getConfigValue key -
    +
    Signature: key:string -> string
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-key.html b/reference/fsharp-configuration-inifileprovider-parser-key.html index 2342ff1e..1fe7d887 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-key.html +++ b/reference/fsharp-configuration-inifileprovider-parser-key.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-section.html b/reference/fsharp-configuration-inifileprovider-parser-section.html index 09764771..2617ccd5 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-section.html +++ b/reference/fsharp-configuration-inifileprovider-parser-section.html @@ -47,10 +47,10 @@

    Record Fields

    - + Name -
    +
    Signature: SectionName
    @@ -65,10 +65,10 @@

    Record Fields

    - + Settings -
    +
    Signature: Setting list
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html index 1fffc2c1..4c4d783f 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html +++ b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-setting.html b/reference/fsharp-configuration-inifileprovider-parser-setting.html index e9dfbce5..bbb9d755 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-setting.html +++ b/reference/fsharp-configuration-inifileprovider-parser-setting.html @@ -47,10 +47,10 @@

    Record Fields

    - + Key -
    +
    Signature: Key
    @@ -65,10 +65,10 @@

    Record Fields

    - + Value -
    +
    Signature: Value
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-value.html b/reference/fsharp-configuration-inifileprovider-parser-value.html index 6f7a13ec..6a67c7f3 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-value.html +++ b/reference/fsharp-configuration-inifileprovider-parser-value.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    diff --git a/reference/fsharp-configuration-inifileprovider-parser.html b/reference/fsharp-configuration-inifileprovider-parser.html index 20ff41d8..a2e8d028 100644 --- a/reference/fsharp-configuration-inifileprovider-parser.html +++ b/reference/fsharp-configuration-inifileprovider-parser.html @@ -97,10 +97,10 @@

    Functions and values

    - + parse path -
    +
    Signature: path:string -> Choice<Section list,Stream>
    @@ -115,10 +115,10 @@

    Functions and values

    - + streamOfFile path -
    +
    Signature: path:string -> Stream
    @@ -133,10 +133,10 @@

    Functions and values

    - + streamOfLines lines -
    +
    Signature: lines:seq<string> -> Stream
    diff --git a/reference/fsharp-configuration-inifileprovider.html b/reference/fsharp-configuration-inifileprovider.html index 8a29cef5..7574783a 100644 --- a/reference/fsharp-configuration-inifileprovider.html +++ b/reference/fsharp-configuration-inifileprovider.html @@ -67,10 +67,10 @@

    Functions and values

    - + getValue iniFileName section key -
    +
    Signature: iniFileName:string -> section:string -> key:string -> Value option
    diff --git a/reference/fsharp-configuration-resxprovider-0.html b/reference/fsharp-configuration-resxprovider-0.html index 3e9848b6..d328aa4e 100644 --- a/reference/fsharp-configuration-resxprovider-0.html +++ b/reference/fsharp-configuration-resxprovider-0.html @@ -47,10 +47,10 @@

    Static parameters

    - + file -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-resxprovider.html b/reference/fsharp-configuration-resxprovider.html index 0591874e..e4ebe6c0 100644 --- a/reference/fsharp-configuration-resxprovider.html +++ b/reference/fsharp-configuration-resxprovider.html @@ -50,10 +50,10 @@

    Functions and values

    - + readValue (filePath, name) -
    +
    Signature: (filePath:FilePath * name:string) -> obj
    diff --git a/reference/fsharp-configuration-yamlconfig.html b/reference/fsharp-configuration-yamlconfig.html index fb4c5256..0bd17396 100644 --- a/reference/fsharp-configuration-yamlconfig.html +++ b/reference/fsharp-configuration-yamlconfig.html @@ -48,10 +48,10 @@

    Static parameters

    - + FilePath -
    +
    Signature: string (optional, default = "")
    @@ -67,10 +67,10 @@

    Static parameters

    - + ReadOnly -
    +
    Signature: bool (optional, default = false)
    @@ -86,10 +86,10 @@

    Static parameters

    - + YamlText -
    +
    Signature: string (optional, default = "")
    diff --git a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html index b38be383..0c0ef80e 100644 --- a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html @@ -73,10 +73,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature: filePath:string -> unit
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 3fdab0df..407b3525 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -74,10 +74,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature: (types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 1271f551..87796d74 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -68,10 +68,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature: folder:string -> unit
    @@ -87,10 +87,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature: cfg:TypeProviderConfig -> unit
    @@ -106,10 +106,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature: ResolveEventArgs -> Assembly
    Modifiers: abstract
    From f67122850fc4c1f82099ffa5d4c4e7fb0818f496 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Sat, 20 Sep 2014 10:03:50 +0200 Subject: [PATCH 41/74] Update generated documentation for version 0.4.1 --- .../fsharp-configuration-appsettings.html | 4 +-- ...configuration-appsettingstypeprovider.html | 4 +-- reference/fsharp-configuration-inifile.html | 4 +-- ...figuration-inifileprovider-parser-key.html | 8 ++--- ...on-inifileprovider-parser-sectionname.html | 8 ++--- ...guration-inifileprovider-parser-value.html | 4 +-- ...-configuration-inifileprovider-parser.html | 12 +++---- .../fsharp-configuration-inifileprovider.html | 4 +-- .../fsharp-configuration-resxprovider.html | 4 +-- ...iguration-yamlconfigtypeprovider-root.html | 32 +++++++++---------- ...fsharp-providedtypes-providedassembly.html | 8 ++--- ...ovidedtypes-typeproviderfornamespaces.html | 16 +++++----- 12 files changed, 54 insertions(+), 54 deletions(-) diff --git a/reference/fsharp-configuration-appsettings.html b/reference/fsharp-configuration-appsettings.html index d91a7482..15ca532e 100644 --- a/reference/fsharp-configuration-appsettings.html +++ b/reference/fsharp-configuration-appsettings.html @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html index d39d716e..7a28a414 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -50,10 +50,10 @@

    Functions and values

    - + getConfigValue key -
    +
    Signature: key:string -> string
    diff --git a/reference/fsharp-configuration-inifile.html b/reference/fsharp-configuration-inifile.html index ab69904e..7a358153 100644 --- a/reference/fsharp-configuration-inifile.html +++ b/reference/fsharp-configuration-inifile.html @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-key.html b/reference/fsharp-configuration-inifileprovider-parser-key.html index 1fe7d887..5bf56414 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-key.html +++ b/reference/fsharp-configuration-inifileprovider-parser-key.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html index 4c4d783f..1fffc2c1 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html +++ b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-value.html b/reference/fsharp-configuration-inifileprovider-parser-value.html index 6a67c7f3..bd03e9be 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-value.html +++ b/reference/fsharp-configuration-inifileprovider-parser-value.html @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser.html b/reference/fsharp-configuration-inifileprovider-parser.html index a2e8d028..20ff41d8 100644 --- a/reference/fsharp-configuration-inifileprovider-parser.html +++ b/reference/fsharp-configuration-inifileprovider-parser.html @@ -97,10 +97,10 @@

    Functions and values

    - + parse path -
    +
    Signature: path:string -> Choice<Section list,Stream>
    @@ -115,10 +115,10 @@

    Functions and values

    - + streamOfFile path -
    +
    Signature: path:string -> Stream
    @@ -133,10 +133,10 @@

    Functions and values

    - + streamOfLines lines -
    +
    Signature: lines:seq<string> -> Stream
    diff --git a/reference/fsharp-configuration-inifileprovider.html b/reference/fsharp-configuration-inifileprovider.html index 7574783a..8a29cef5 100644 --- a/reference/fsharp-configuration-inifileprovider.html +++ b/reference/fsharp-configuration-inifileprovider.html @@ -67,10 +67,10 @@

    Functions and values

    - + getValue iniFileName section key -
    +
    Signature: iniFileName:string -> section:string -> key:string -> Value option
    diff --git a/reference/fsharp-configuration-resxprovider.html b/reference/fsharp-configuration-resxprovider.html index e4ebe6c0..0591874e 100644 --- a/reference/fsharp-configuration-resxprovider.html +++ b/reference/fsharp-configuration-resxprovider.html @@ -50,10 +50,10 @@

    Functions and values

    - + readValue (filePath, name) -
    +
    Signature: (filePath:FilePath * name:string) -> obj
    diff --git a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html index 0c0ef80e..9d8348b4 100644 --- a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html @@ -73,10 +73,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -92,10 +92,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature: reader:TextReader -> unit
    @@ -111,10 +111,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature: filePath:string -> IDisposable
    @@ -131,10 +131,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature: yamlText:string -> unit
    @@ -150,10 +150,10 @@

    Instance members

    - + Save() -
    +
    Signature: unit -> unit
    @@ -171,10 +171,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -190,10 +190,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature: writer:TextWriter -> unit
    @@ -209,10 +209,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature: stream:Stream -> unit
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 407b3525..010152aa 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -74,10 +74,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature: (types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -92,10 +92,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature: (types:ProvidedTypeDefinition list) -> unit
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 87796d74..17adacc7 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature: unit -> unit
    @@ -68,10 +68,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature: folder:string -> unit
    @@ -87,10 +87,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature: cfg:TypeProviderConfig -> unit
    @@ -106,10 +106,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature: ResolveEventArgs -> Assembly
    Modifiers: abstract
    From 64650b46051daf12c22959c2bbfb6fc6cc69d8f4 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Sat, 20 Sep 2014 10:10:45 +0200 Subject: [PATCH 42/74] Update generated documentation for version 0.4.2 --- .../fsharp-configuration-appsettings.html | 4 +-- reference/fsharp-configuration-inifile.html | 4 +-- ...figuration-inifileprovider-parser-key.html | 8 ++--- ...ration-inifileprovider-parser-section.html | 8 ++--- ...ration-inifileprovider-parser-setting.html | 4 +-- ...guration-inifileprovider-parser-value.html | 4 +-- .../fsharp-configuration-resxprovider-0.html | 4 +-- .../fsharp-configuration-yamlconfig.html | 12 +++---- ...iguration-yamlconfigtypeprovider-root.html | 32 +++++++++---------- ...fsharp-providedtypes-providedassembly.html | 8 ++--- ...ovidedtypes-typeproviderfornamespaces.html | 16 +++++----- 11 files changed, 52 insertions(+), 52 deletions(-) diff --git a/reference/fsharp-configuration-appsettings.html b/reference/fsharp-configuration-appsettings.html index 15ca532e..7bb98309 100644 --- a/reference/fsharp-configuration-appsettings.html +++ b/reference/fsharp-configuration-appsettings.html @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-inifile.html b/reference/fsharp-configuration-inifile.html index 7a358153..ab69904e 100644 --- a/reference/fsharp-configuration-inifile.html +++ b/reference/fsharp-configuration-inifile.html @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-key.html b/reference/fsharp-configuration-inifileprovider-parser-key.html index 5bf56414..2342ff1e 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-key.html +++ b/reference/fsharp-configuration-inifileprovider-parser-key.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-section.html b/reference/fsharp-configuration-inifileprovider-parser-section.html index 2617ccd5..723c63b8 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-section.html +++ b/reference/fsharp-configuration-inifileprovider-parser-section.html @@ -47,10 +47,10 @@

    Record Fields

    - + Name -
    +
    Signature: SectionName
    @@ -65,10 +65,10 @@

    Record Fields

    - + Settings -
    +
    Signature: Setting list
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-setting.html b/reference/fsharp-configuration-inifileprovider-parser-setting.html index bbb9d755..8766eaab 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-setting.html +++ b/reference/fsharp-configuration-inifileprovider-parser-setting.html @@ -65,10 +65,10 @@

    Record Fields

    - + Value -
    +
    Signature: Value
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-value.html b/reference/fsharp-configuration-inifileprovider-parser-value.html index bd03e9be..4a5f94a3 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-value.html +++ b/reference/fsharp-configuration-inifileprovider-parser-value.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    diff --git a/reference/fsharp-configuration-resxprovider-0.html b/reference/fsharp-configuration-resxprovider-0.html index d328aa4e..3e9848b6 100644 --- a/reference/fsharp-configuration-resxprovider-0.html +++ b/reference/fsharp-configuration-resxprovider-0.html @@ -47,10 +47,10 @@

    Static parameters

    - + file -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-yamlconfig.html b/reference/fsharp-configuration-yamlconfig.html index 0bd17396..fb4c5256 100644 --- a/reference/fsharp-configuration-yamlconfig.html +++ b/reference/fsharp-configuration-yamlconfig.html @@ -48,10 +48,10 @@

    Static parameters

    - + FilePath -
    +
    Signature: string (optional, default = "")
    @@ -67,10 +67,10 @@

    Static parameters

    - + ReadOnly -
    +
    Signature: bool (optional, default = false)
    @@ -86,10 +86,10 @@

    Static parameters

    - + YamlText -
    +
    Signature: string (optional, default = "")
    diff --git a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html index 9d8348b4..81616148 100644 --- a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html @@ -73,10 +73,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -92,10 +92,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature: reader:TextReader -> unit
    @@ -111,10 +111,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature: filePath:string -> IDisposable
    @@ -131,10 +131,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature: yamlText:string -> unit
    @@ -150,10 +150,10 @@

    Instance members

    - + Save() -
    +
    Signature: unit -> unit
    @@ -171,10 +171,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -190,10 +190,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature: writer:TextWriter -> unit
    @@ -209,10 +209,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature: stream:Stream -> unit
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 010152aa..3fdab0df 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -74,10 +74,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature: (types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -92,10 +92,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature: (types:ProvidedTypeDefinition list) -> unit
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 17adacc7..1271f551 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature: unit -> unit
    @@ -68,10 +68,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature: folder:string -> unit
    @@ -87,10 +87,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature: cfg:TypeProviderConfig -> unit
    @@ -106,10 +106,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature: ResolveEventArgs -> Assembly
    Modifiers: abstract
    From 45f9cca5eb60e83ee7ae8ce4ca1c751d4f5e3dea Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Sat, 20 Sep 2014 10:13:18 +0200 Subject: [PATCH 43/74] Update generated documentation for version 0.4.3 --- ...configuration-appsettingstypeprovider.html | 4 +-- ...eprovider-fsharpconfigurationprovider.html | 4 +-- ...figuration-inifileprovider-parser-key.html | 8 ++--- ...ration-inifileprovider-parser-section.html | 8 ++--- ...ration-inifileprovider-parser-setting.html | 8 ++--- ...guration-inifileprovider-parser-value.html | 8 ++--- .../fsharp-configuration-resxprovider.html | 4 +-- ...iguration-yamlconfigtypeprovider-root.html | 36 +++++++++---------- 8 files changed, 40 insertions(+), 40 deletions(-) diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html index 7a28a414..d39d716e 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -50,10 +50,10 @@

    Functions and values

    - + getConfigValue key -
    +
    Signature: key:string -> string
    diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index 260b850f..2527b287 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature: cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-key.html b/reference/fsharp-configuration-inifileprovider-parser-key.html index 2342ff1e..a11c4645 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-key.html +++ b/reference/fsharp-configuration-inifileprovider-parser-key.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-section.html b/reference/fsharp-configuration-inifileprovider-parser-section.html index 723c63b8..09764771 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-section.html +++ b/reference/fsharp-configuration-inifileprovider-parser-section.html @@ -47,10 +47,10 @@

    Record Fields

    - + Name -
    +
    Signature: SectionName
    @@ -65,10 +65,10 @@

    Record Fields

    - + Settings -
    +
    Signature: Setting list
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-setting.html b/reference/fsharp-configuration-inifileprovider-parser-setting.html index 8766eaab..e9dfbce5 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-setting.html +++ b/reference/fsharp-configuration-inifileprovider-parser-setting.html @@ -47,10 +47,10 @@

    Record Fields

    - + Key -
    +
    Signature: Key
    @@ -65,10 +65,10 @@

    Record Fields

    - + Value -
    +
    Signature: Value
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-value.html b/reference/fsharp-configuration-inifileprovider-parser-value.html index 4a5f94a3..34beb035 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-value.html +++ b/reference/fsharp-configuration-inifileprovider-parser-value.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-resxprovider.html b/reference/fsharp-configuration-resxprovider.html index 0591874e..e4ebe6c0 100644 --- a/reference/fsharp-configuration-resxprovider.html +++ b/reference/fsharp-configuration-resxprovider.html @@ -50,10 +50,10 @@

    Functions and values

    - + readValue (filePath, name) -
    +
    Signature: (filePath:FilePath * name:string) -> obj
    diff --git a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html index 81616148..fd6c41a0 100644 --- a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature: unit -> Root
    @@ -73,10 +73,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -92,10 +92,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature: reader:TextReader -> unit
    @@ -111,10 +111,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature: filePath:string -> IDisposable
    @@ -131,10 +131,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature: yamlText:string -> unit
    @@ -150,10 +150,10 @@

    Instance members

    - + Save() -
    +
    Signature: unit -> unit
    @@ -171,10 +171,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -190,10 +190,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature: writer:TextWriter -> unit
    @@ -209,10 +209,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature: stream:Stream -> unit
    From 06f75b0c3a5477e8ad50bdf784b77fefe5407ab7 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Sat, 20 Sep 2014 10:20:59 +0200 Subject: [PATCH 44/74] Update generated documentation for version 0.4.3 --- AppSettingsProvider.html | 1 + IniTypeProvider.html | 113 ++++++++++++++++++ ResXProvider.html | 1 + YamlConfigProvider.html | 1 + index.html | 2 + .../fsharp-configuration-appsettings.html | 5 +- ...configuration-appsettingstypeprovider.html | 1 + ...eprovider-fsharpconfigurationprovider.html | 1 + ...harp-configuration-configtypeprovider.html | 1 + reference/fsharp-configuration-inifile.html | 5 +- ...figuration-inifileprovider-parser-key.html | 9 +- ...ration-inifileprovider-parser-section.html | 9 +- ...on-inifileprovider-parser-sectionname.html | 9 +- ...ration-inifileprovider-parser-setting.html | 9 +- ...uration-inifileprovider-parser-stream.html | 1 + ...guration-inifileprovider-parser-value.html | 9 +- ...-configuration-inifileprovider-parser.html | 13 +- .../fsharp-configuration-inifileprovider.html | 5 +- .../fsharp-configuration-resxprovider-0.html | 5 +- .../fsharp-configuration-resxprovider.html | 1 + .../fsharp-configuration-yamlconfig.html | 13 +- ...iguration-yamlconfigtypeprovider-root.html | 1 + ...-configuration-yamlconfigtypeprovider.html | 1 + reference/index.html | 1 + ...fsharp-providedtypes-providedassembly.html | 9 +- ...ovidedtypes-typeproviderfornamespaces.html | 17 +-- 26 files changed, 191 insertions(+), 52 deletions(-) create mode 100644 IniTypeProvider.html diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html index eb65d9cf..0c7e07f9 100644 --- a/AppSettingsProvider.html +++ b/AppSettingsProvider.html @@ -124,6 +124,7 @@

    AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/IniTypeProvider.html b/IniTypeProvider.html new file mode 100644 index 00000000..f2e5ceb0 --- /dev/null +++ b/IniTypeProvider.html @@ -0,0 +1,113 @@ + + + + + The Ini type provider + + + + + + + + + + + + + + + + +
    + +
    +
    +
    + +

    The Ini type provider

    + +

    This tutorial shows the use of the Ini type provider.

    + +

    Using Ini type provider from F# scripts

    + +

    Create a Sample.ini file like this:

    + +
    [Section1]
    +key1=2
    + key2 = stringValue
    +;comment
    +[  Section2 ]
    +key3 = 1.23 ; comment
    +key5 = true
    +key6 = False
    +; comment
    +key7 =
    + +

    Reference the type provider assembly and configure it to use your yaml file:

    + + + + +
    + 1: 
    + 2: 
    + 3: 
    + 4: 
    + 5: 
    + 6: 
    + 7: 
    + 8: 
    + 9: 
    +10: 
    +11: 
    +
    +
    +#r "FSharp.Configuration.dll"
    +open FSharp.Configuration
    +
    +// Let the type provider do it's work
    +type IniFileType = IniFile<"Sample.ini">
    +
    +// read a value from the config
    +IniFileType.Section1.key2
    +
    +val it : string = 
    +  "stringValue"
    +
    + +
    namespace FSharp
    +
    namespace FSharp.Configuration
    +
    type IniFileType = IniFile<...>

    Full name: IniTypeProvider.IniFileType
    +
    type IniFile

    Full name: FSharp.Configuration.IniFile
    + +
    + +
    +
    +
    Fork me on GitHub + + diff --git a/ResXProvider.html b/ResXProvider.html index ed4e025a..279bdac8 100644 --- a/ResXProvider.html +++ b/ResXProvider.html @@ -104,6 +104,7 @@

    AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/YamlConfigProvider.html b/YamlConfigProvider.html index 79949426..912659da 100644 --- a/YamlConfigProvider.html +++ b/YamlConfigProvider.html @@ -411,6 +411,7 @@

    The Cha
  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/index.html b/index.html index 89b7d1e0..9e58b3ab 100644 --- a/index.html +++ b/index.html @@ -41,6 +41,7 @@

    F
  • AppSettings
  • ResX
  • Yaml
  • +
  • Ini
  • diff --git a/reference/fsharp-configuration-appsettings.html b/reference/fsharp-configuration-appsettings.html index 7bb98309..89036442 100644 --- a/reference/fsharp-configuration-appsettings.html +++ b/reference/fsharp-configuration-appsettings.html @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    @@ -80,6 +80,7 @@

    Static parameters

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html index d39d716e..eb10522c 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -101,6 +101,7 @@

    Functions and values

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index 2527b287..9cc688f8 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -80,6 +80,7 @@

    Constructors

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-configtypeprovider.html b/reference/fsharp-configuration-configtypeprovider.html index 7e12f61a..9af243c2 100644 --- a/reference/fsharp-configuration-configtypeprovider.html +++ b/reference/fsharp-configuration-configtypeprovider.html @@ -74,6 +74,7 @@

    Nested types and modules

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-inifile.html b/reference/fsharp-configuration-inifile.html index ab69904e..ba3dc76f 100644 --- a/reference/fsharp-configuration-inifile.html +++ b/reference/fsharp-configuration-inifile.html @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    @@ -80,6 +80,7 @@

    Static parameters

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-inifileprovider-parser-key.html b/reference/fsharp-configuration-inifileprovider-parser-key.html index a11c4645..47a8ec3a 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-key.html +++ b/reference/fsharp-configuration-inifileprovider-parser-key.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    @@ -90,6 +90,7 @@

    Instance members

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-inifileprovider-parser-section.html b/reference/fsharp-configuration-inifileprovider-parser-section.html index 09764771..a89b8bbe 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-section.html +++ b/reference/fsharp-configuration-inifileprovider-parser-section.html @@ -47,10 +47,10 @@

    Record Fields

    - + Name -
    +
    Signature: SectionName
    @@ -65,10 +65,10 @@

    Record Fields

    - + Settings -
    +
    Signature: Setting list
    @@ -98,6 +98,7 @@

    Record Fields

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html index 1fffc2c1..ce52c57d 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html +++ b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    @@ -90,6 +90,7 @@

    Instance members

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-inifileprovider-parser-setting.html b/reference/fsharp-configuration-inifileprovider-parser-setting.html index e9dfbce5..49fb668f 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-setting.html +++ b/reference/fsharp-configuration-inifileprovider-parser-setting.html @@ -47,10 +47,10 @@

    Record Fields

    - + Key -
    +
    Signature: Key
    @@ -65,10 +65,10 @@

    Record Fields

    - + Value -
    +
    Signature: Value
    @@ -98,6 +98,7 @@

    Record Fields

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-inifileprovider-parser-stream.html b/reference/fsharp-configuration-inifileprovider-parser-stream.html index a2629bb0..8f05843a 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-stream.html +++ b/reference/fsharp-configuration-inifileprovider-parser-stream.html @@ -80,6 +80,7 @@

    Union Cases

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-inifileprovider-parser-value.html b/reference/fsharp-configuration-inifileprovider-parser-value.html index 34beb035..c28b0fc5 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-value.html +++ b/reference/fsharp-configuration-inifileprovider-parser-value.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    @@ -90,6 +90,7 @@

    Instance members

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-inifileprovider-parser.html b/reference/fsharp-configuration-inifileprovider-parser.html index 20ff41d8..b21340bb 100644 --- a/reference/fsharp-configuration-inifileprovider-parser.html +++ b/reference/fsharp-configuration-inifileprovider-parser.html @@ -97,10 +97,10 @@

    Functions and values

    - + parse path -
    +
    Signature: path:string -> Choice<Section list,Stream>
    @@ -115,10 +115,10 @@

    Functions and values

    - + streamOfFile path -
    +
    Signature: path:string -> Stream
    @@ -133,10 +133,10 @@

    Functions and values

    - + streamOfLines lines -
    +
    Signature: lines:seq<string> -> Stream
    @@ -300,6 +300,7 @@

    Active patterns

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-inifileprovider.html b/reference/fsharp-configuration-inifileprovider.html index 8a29cef5..84db8bdd 100644 --- a/reference/fsharp-configuration-inifileprovider.html +++ b/reference/fsharp-configuration-inifileprovider.html @@ -67,10 +67,10 @@

    Functions and values

    - + getValue iniFileName section key -
    +
    Signature: iniFileName:string -> section:string -> key:string -> Value option
    @@ -100,6 +100,7 @@

    Functions and values

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-resxprovider-0.html b/reference/fsharp-configuration-resxprovider-0.html index 3e9848b6..19ae9d44 100644 --- a/reference/fsharp-configuration-resxprovider-0.html +++ b/reference/fsharp-configuration-resxprovider-0.html @@ -47,10 +47,10 @@

    Static parameters

    - + file -
    +
    Signature: string
    @@ -80,6 +80,7 @@

    Static parameters

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-resxprovider.html b/reference/fsharp-configuration-resxprovider.html index e4ebe6c0..bb6f422a 100644 --- a/reference/fsharp-configuration-resxprovider.html +++ b/reference/fsharp-configuration-resxprovider.html @@ -83,6 +83,7 @@

    Functions and values

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-yamlconfig.html b/reference/fsharp-configuration-yamlconfig.html index fb4c5256..8a6957bf 100644 --- a/reference/fsharp-configuration-yamlconfig.html +++ b/reference/fsharp-configuration-yamlconfig.html @@ -48,10 +48,10 @@

    Static parameters

    - + FilePath -
    +
    Signature: string (optional, default = "")
    @@ -67,10 +67,10 @@

    Static parameters

    - + ReadOnly -
    +
    Signature: bool (optional, default = false)
    @@ -86,10 +86,10 @@

    Static parameters

    - + YamlText -
    +
    Signature: string (optional, default = "")
    @@ -120,6 +120,7 @@

    Static parameters

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html index fd6c41a0..59c1fed2 100644 --- a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html @@ -243,6 +243,7 @@

    Instance members

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/fsharp-configuration-yamlconfigtypeprovider.html b/reference/fsharp-configuration-yamlconfigtypeprovider.html index 645a9651..f11a8f63 100644 --- a/reference/fsharp-configuration-yamlconfigtypeprovider.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider.html @@ -74,6 +74,7 @@

    Nested types and modules

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/index.html b/reference/index.html index 0f11f17f..6076f06b 100644 --- a/reference/index.html +++ b/reference/index.html @@ -150,6 +150,7 @@

    Samples.FSharp.ProvidedTypes Namespace

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 3fdab0df..639c3f27 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -74,10 +74,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature: (types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -92,10 +92,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature: (types:ProvidedTypeDefinition list) -> unit
    @@ -158,6 +158,7 @@

    Static members

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 1271f551..9cbb380c 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature: unit -> unit
    @@ -68,10 +68,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature: folder:string -> unit
    @@ -87,10 +87,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature: cfg:TypeProviderConfig -> unit
    @@ -106,10 +106,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature: ResolveEventArgs -> Assembly
    Modifiers: abstract
    @@ -141,6 +141,7 @@

    Instance members

  • AppSettingsProvider
  • ResXProvider
  • YamlConfigProvider
  • +
  • IniTypeProvider
  • From 27f2b30e3130eb088bd1943403c84439cc817cdb Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Sat, 20 Sep 2014 11:47:21 +0200 Subject: [PATCH 45/74] Update generated documentation for version 0.4.3 --- AppSettingsProvider.html | 26 ++++----- IniTypeProvider.html | 56 ++++++++++--------- ResXProvider.html | 26 ++++----- YamlConfigProvider.html | 26 ++++----- index.html | 26 ++++----- .../fsharp-configuration-appsettings.html | 30 +++++----- ...configuration-appsettingstypeprovider.html | 30 +++++----- ...eprovider-fsharpconfigurationprovider.html | 30 +++++----- ...harp-configuration-configtypeprovider.html | 26 ++++----- reference/fsharp-configuration-inifile.html | 30 +++++----- ...figuration-inifileprovider-parser-key.html | 30 +++++----- ...ration-inifileprovider-parser-section.html | 34 +++++------ ...on-inifileprovider-parser-sectionname.html | 34 +++++------ ...ration-inifileprovider-parser-setting.html | 34 +++++------ ...uration-inifileprovider-parser-stream.html | 26 ++++----- ...guration-inifileprovider-parser-value.html | 34 +++++------ ...-configuration-inifileprovider-parser.html | 30 +++++----- .../fsharp-configuration-inifileprovider.html | 30 +++++----- .../fsharp-configuration-resxprovider-0.html | 26 ++++----- .../fsharp-configuration-resxprovider.html | 30 +++++----- .../fsharp-configuration-yamlconfig.html | 26 ++++----- ...iguration-yamlconfigtypeprovider-root.html | 30 +++++----- ...-configuration-yamlconfigtypeprovider.html | 26 ++++----- reference/index.html | 26 ++++----- ...fsharp-providedtypes-providedassembly.html | 34 +++++------ ...ovidedtypes-typeproviderfornamespaces.html | 42 +++++++------- 26 files changed, 400 insertions(+), 398 deletions(-) diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html index 0c7e07f9..7da315bd 100644 --- a/AppSettingsProvider.html +++ b/AppSettingsProvider.html @@ -8,16 +8,16 @@ - - - - + + + + - - + + @@ -27,7 +27,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    diff --git a/IniTypeProvider.html b/IniTypeProvider.html index f2e5ceb0..1e2666dc 100644 --- a/IniTypeProvider.html +++ b/IniTypeProvider.html @@ -8,16 +8,16 @@ - - - - + + + + - - + + @@ -27,7 +27,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    type IniFileType = IniFile<...>

    Full name: IniTypeProvider.IniFileType
    type IniFile

    Full name: FSharp.Configuration.IniFile
    +
    type Section1 =
      static member intSetting : int
      static member stringSetting : string

    Full name: FSharp.Configuration.IniFile,configFileName="Sample.ini ".Section1
    +
    property IniFile<...>.Section1.intSetting: int


    Returns the value from Sample.ini from section Section1 with key intSetting
    diff --git a/ResXProvider.html b/ResXProvider.html index 279bdac8..6bd67328 100644 --- a/ResXProvider.html +++ b/ResXProvider.html @@ -8,16 +8,16 @@ - - - - + + + + - - + + @@ -27,7 +27,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    diff --git a/YamlConfigProvider.html b/YamlConfigProvider.html index 912659da..3659d791 100644 --- a/YamlConfigProvider.html +++ b/YamlConfigProvider.html @@ -8,16 +8,16 @@ - - - - + + + + - - + + @@ -27,7 +27,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    diff --git a/index.html b/index.html index 9e58b3ab..4982a2de 100644 --- a/index.html +++ b/index.html @@ -8,16 +8,16 @@ - - - - + + + + - - + + @@ -27,7 +27,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    diff --git a/reference/fsharp-configuration-appsettings.html b/reference/fsharp-configuration-appsettings.html index 89036442..bc9ac4dc 100644 --- a/reference/fsharp-configuration-appsettings.html +++ b/reference/fsharp-configuration-appsettings.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    @@ -69,7 +69,7 @@

    Static parameters

    diff --git a/reference/fsharp-configuration-appsettingstypeprovider.html b/reference/fsharp-configuration-appsettingstypeprovider.html index eb10522c..cc7e3d4e 100644 --- a/reference/fsharp-configuration-appsettingstypeprovider.html +++ b/reference/fsharp-configuration-appsettingstypeprovider.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -50,10 +50,10 @@

    Functions and values

    - + getConfigValue key -
    +
    Signature: key:string -> string
    @@ -90,7 +90,7 @@

    Functions and values

    diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index 9cc688f8..02b4377a 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature: cfg:TypeProviderConfig -> FSharpConfigurationProvider
    @@ -69,7 +69,7 @@

    Constructors

    diff --git a/reference/fsharp-configuration-configtypeprovider.html b/reference/fsharp-configuration-configtypeprovider.html index 9af243c2..5de53ba6 100644 --- a/reference/fsharp-configuration-configtypeprovider.html +++ b/reference/fsharp-configuration-configtypeprovider.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -63,7 +63,7 @@

    Nested types and modules

    diff --git a/reference/fsharp-configuration-inifile.html b/reference/fsharp-configuration-inifile.html index ba3dc76f..79e30a5b 100644 --- a/reference/fsharp-configuration-inifile.html +++ b/reference/fsharp-configuration-inifile.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    @@ -69,7 +69,7 @@

    Static parameters

    diff --git a/reference/fsharp-configuration-inifileprovider-parser-key.html b/reference/fsharp-configuration-inifileprovider-parser-key.html index 47a8ec3a..3c97c554 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-key.html +++ b/reference/fsharp-configuration-inifileprovider-parser-key.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -79,7 +79,7 @@

    Instance members

    diff --git a/reference/fsharp-configuration-inifileprovider-parser-section.html b/reference/fsharp-configuration-inifileprovider-parser-section.html index a89b8bbe..19612164 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-section.html +++ b/reference/fsharp-configuration-inifileprovider-parser-section.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -47,10 +47,10 @@

    Record Fields

    - + Name -
    +
    Signature: SectionName
    @@ -65,10 +65,10 @@

    Record Fields

    - + Settings -
    +
    Signature: Setting list
    @@ -87,7 +87,7 @@

    Record Fields

    diff --git a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html index ce52c57d..2ebe324c 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html +++ b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    @@ -79,7 +79,7 @@

    Instance members

    diff --git a/reference/fsharp-configuration-inifileprovider-parser-setting.html b/reference/fsharp-configuration-inifileprovider-parser-setting.html index 49fb668f..af48f8ff 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-setting.html +++ b/reference/fsharp-configuration-inifileprovider-parser-setting.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -47,10 +47,10 @@

    Record Fields

    - + Key -
    +
    Signature: Key
    @@ -65,10 +65,10 @@

    Record Fields

    - + Value -
    +
    Signature: Value
    @@ -87,7 +87,7 @@

    Record Fields

    diff --git a/reference/fsharp-configuration-inifileprovider-parser-stream.html b/reference/fsharp-configuration-inifileprovider-parser-stream.html index 8f05843a..d754ddf5 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-stream.html +++ b/reference/fsharp-configuration-inifileprovider-parser-stream.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    diff --git a/reference/fsharp-configuration-inifileprovider-parser-value.html b/reference/fsharp-configuration-inifileprovider-parser-value.html index c28b0fc5..cf1a9768 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-value.html +++ b/reference/fsharp-configuration-inifileprovider-parser-value.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    @@ -79,7 +79,7 @@

    Instance members

    diff --git a/reference/fsharp-configuration-inifileprovider-parser.html b/reference/fsharp-configuration-inifileprovider-parser.html index b21340bb..ffe941f6 100644 --- a/reference/fsharp-configuration-inifileprovider-parser.html +++ b/reference/fsharp-configuration-inifileprovider-parser.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -97,10 +97,10 @@

    Functions and values

    - + parse path -
    +
    Signature: path:string -> Choice<Section list,Stream>
    @@ -289,7 +289,7 @@

    Active patterns

    diff --git a/reference/fsharp-configuration-inifileprovider.html b/reference/fsharp-configuration-inifileprovider.html index 84db8bdd..f226f9f1 100644 --- a/reference/fsharp-configuration-inifileprovider.html +++ b/reference/fsharp-configuration-inifileprovider.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -67,10 +67,10 @@

    Functions and values

    - + getValue iniFileName section key -
    +
    Signature: iniFileName:string -> section:string -> key:string -> Value option
    @@ -89,7 +89,7 @@

    Functions and values

    diff --git a/reference/fsharp-configuration-resxprovider-0.html b/reference/fsharp-configuration-resxprovider-0.html index 19ae9d44..b0bf8698 100644 --- a/reference/fsharp-configuration-resxprovider-0.html +++ b/reference/fsharp-configuration-resxprovider-0.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -69,7 +69,7 @@

    Static parameters

    diff --git a/reference/fsharp-configuration-resxprovider.html b/reference/fsharp-configuration-resxprovider.html index bb6f422a..12f75747 100644 --- a/reference/fsharp-configuration-resxprovider.html +++ b/reference/fsharp-configuration-resxprovider.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -50,10 +50,10 @@

    Functions and values

    - + readValue (filePath, name) -
    +
    Signature: (filePath:FilePath * name:string) -> obj
    @@ -72,7 +72,7 @@

    Functions and values

    diff --git a/reference/fsharp-configuration-yamlconfig.html b/reference/fsharp-configuration-yamlconfig.html index 8a6957bf..ea39cfed 100644 --- a/reference/fsharp-configuration-yamlconfig.html +++ b/reference/fsharp-configuration-yamlconfig.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -109,7 +109,7 @@

    Static parameters

    diff --git a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html index 59c1fed2..c9a5ee3c 100644 --- a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature: unit -> Root
    @@ -232,7 +232,7 @@

    Instance members

    diff --git a/reference/fsharp-configuration-yamlconfigtypeprovider.html b/reference/fsharp-configuration-yamlconfigtypeprovider.html index f11a8f63..2f2b1ec2 100644 --- a/reference/fsharp-configuration-yamlconfigtypeprovider.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -63,7 +63,7 @@

    Nested types and modules

    diff --git a/reference/index.html b/reference/index.html index 6076f06b..4b2afba6 100644 --- a/reference/index.html +++ b/reference/index.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -139,7 +139,7 @@

    Samples.FSharp.ProvidedTypes Namespace

    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index 639c3f27..b28f2aa2 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -74,10 +74,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature: (types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -92,10 +92,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature: (types:ProvidedTypeDefinition list) -> unit
    @@ -147,7 +147,7 @@

    Static members

    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 9cbb380c..41138a55 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -7,16 +7,16 @@ - - - - + + + + - - + + @@ -26,7 +26,7 @@
  • fsharp.org
  • github page
  • -

    FSharp.Configuration

    +

    FSharp.Configuration


    @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature: unit -> unit
    @@ -68,10 +68,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature: folder:string -> unit
    @@ -87,10 +87,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature: cfg:TypeProviderConfig -> unit
    @@ -106,10 +106,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature: ResolveEventArgs -> Assembly
    Modifiers: abstract
    @@ -130,7 +130,7 @@

    Instance members

    From 85c40846cb4faf6e5adee03b9e0766142987c764 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 22 Oct 2014 11:16:04 +0200 Subject: [PATCH 46/74] Update generated documentation for version 0.4.4 --- AppSettingsProvider.html | 29 +++++++++---- .../fsharp-configuration-appsettings.html | 4 +- ...configuration-appsettingstypeprovider.html | 42 +++++++++++++++++-- ...eprovider-fsharpconfigurationprovider.html | 4 +- reference/fsharp-configuration-inifile.html | 4 +- ...figuration-inifileprovider-parser-key.html | 8 ++-- ...ration-inifileprovider-parser-section.html | 8 ++-- ...on-inifileprovider-parser-sectionname.html | 8 ++-- ...uration-inifileprovider-parser-stream.html | 4 +- ...guration-inifileprovider-parser-value.html | 8 ++-- ...-configuration-inifileprovider-parser.html | 40 +++++++++--------- .../fsharp-configuration-inifileprovider.html | 4 +- .../fsharp-configuration-resxprovider-0.html | 4 +- .../fsharp-configuration-resxprovider.html | 4 +- .../fsharp-configuration-yamlconfig.html | 12 +++--- ...iguration-yamlconfigtypeprovider-root.html | 36 ++++++++-------- ...fsharp-providedtypes-providedassembly.html | 16 +++---- ...ovidedtypes-typeproviderfornamespaces.html | 16 +++---- 18 files changed, 150 insertions(+), 101 deletions(-) diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html index 7da315bd..95f2e1a2 100644 --- a/AppSettingsProvider.html +++ b/AppSettingsProvider.html @@ -52,6 +52,9 @@

    <add key="TestDateTime" value="2014-05-18 11:14:28Z"/> <add key="TestTimeSpan" value="00:12:30"/> </appSettings> + <connectionStrings> + <add name="Test" connectionString="Server=.;Database=SomeDatabase;Integrated Security=true"/> + </connectionStrings> </configuration>

    Reference the type provider assembly and configure it to use your app.settings file:

    @@ -81,13 +84,17 @@

    Reading and writing from the config

    -1: 
    -2: 
    -3: 
    -4: 
    -5: 
    -6: 
    -7: 
    + 1: 
    + 2: 
    + 3: 
    + 4: 
    + 5: 
    + 6: 
    + 7: 
    + 8: 
    + 9: 
    +10: 
    +11: 
     
    @@ -97,7 +104,11 @@ 

    // verify the file name Settings.ConfigFileName -val it : string = "C:\Code\FSharp.Configuration\docs\content\app.config"

    +val it : string = "C:\Code\FSharp.Configuration\docs\content\app.config" + +// read a connection string from the config +Settings.ConnectionStrings.Test +val it : string = "Server=.;Database=SomeDatabase;Integrated Security=true"
    @@ -108,6 +119,8 @@

    type AppSettings

    Full name: FSharp.Configuration.AppSettings

    property AppSettings<...>.Test2: string


    Returns the value from app.config with key test2
    property AppSettings<...>.ConfigFileName: string


    Returns the Filename
    +
    type ConnectionStrings =
      static member LocalSqlServer : string with get, set
      static member Test : string with get, set

    Full name: FSharp.Configuration.AppSettings,configFileName="app.config".ConnectionStrings


    Represents the available connection strings from app.config
    +
    property AppSettings<...>.ConnectionStrings.Test: string


    Returns the connection string from app.config with name Test
    diff --git a/reference/fsharp-configuration-appsettings.html b/reference/fsharp-configuration-appsettings.html index bc9ac4dc..ebb6dc2f 100644 --- a/reference/fsharp-configuration-appsettings.html +++ b/reference/fsharp-configuration-appsettings.html @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    - + + + + + + + + + + + + setConnectionString (key, value) + +
    + Signature: (key:string * value:string) -> unit
    +
    + + + diff --git a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html index 02b4377a..52875c7e 100644 --- a/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html +++ b/reference/fsharp-configuration-configtypeprovider-fsharpconfigurationprovider.html @@ -47,10 +47,10 @@

    Constructors

    - + new(cfg) -
    +
    Signature: cfg:TypeProviderConfig -> FSharpConfigurationProvider
    diff --git a/reference/fsharp-configuration-inifile.html b/reference/fsharp-configuration-inifile.html index 79e30a5b..cac7ebab 100644 --- a/reference/fsharp-configuration-inifile.html +++ b/reference/fsharp-configuration-inifile.html @@ -47,10 +47,10 @@

    Static parameters

    - + configFileName -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-key.html b/reference/fsharp-configuration-inifileprovider-parser-key.html index 3c97c554..5c7185a1 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-key.html +++ b/reference/fsharp-configuration-inifileprovider-parser-key.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-section.html b/reference/fsharp-configuration-inifileprovider-parser-section.html index 19612164..0e943bb9 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-section.html +++ b/reference/fsharp-configuration-inifileprovider-parser-section.html @@ -47,10 +47,10 @@

    Record Fields

    - + Name -
    +
    Signature: SectionName
    @@ -65,10 +65,10 @@

    Record Fields

    - + Settings -
    +
    Signature: Setting list
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html index 2ebe324c..22ebc829 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-sectionname.html +++ b/reference/fsharp-configuration-inifileprovider-parser-sectionname.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-stream.html b/reference/fsharp-configuration-inifileprovider-parser-stream.html index d754ddf5..caec6fb4 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-stream.html +++ b/reference/fsharp-configuration-inifileprovider-parser-stream.html @@ -47,10 +47,10 @@

    Union Cases

    - + Stream(int,string list) -
    +
    Signature: int * string list
    diff --git a/reference/fsharp-configuration-inifileprovider-parser-value.html b/reference/fsharp-configuration-inifileprovider-parser-value.html index cf1a9768..986bd79a 100644 --- a/reference/fsharp-configuration-inifileprovider-parser-value.html +++ b/reference/fsharp-configuration-inifileprovider-parser-value.html @@ -47,10 +47,10 @@

    Instance members

    - + Chars(arg1) -
    +
    Signature: int -> char
    @@ -61,10 +61,10 @@

    Instance members

    - + Length() -
    +
    Signature: unit -> int
    diff --git a/reference/fsharp-configuration-inifileprovider-parser.html b/reference/fsharp-configuration-inifileprovider-parser.html index ffe941f6..a7e30ad7 100644 --- a/reference/fsharp-configuration-inifileprovider-parser.html +++ b/reference/fsharp-configuration-inifileprovider-parser.html @@ -97,10 +97,10 @@

    Functions and values

    - + parse path -
    +
    Signature: path:string -> Choice<Section list,Stream>
    @@ -115,10 +115,10 @@

    Functions and values

    - + streamOfFile path -
    +
    Signature: path:string -> Stream
    @@ -133,10 +133,10 @@

    Functions and values

    - + streamOfLines lines -
    +
    Signature: lines:seq<string> -> Stream
    @@ -159,10 +159,10 @@

    Active patterns

    - + ( |Comment|_| ) _arg1 -
    +
    Signature: _arg1:Stream -> Stream option
    @@ -177,10 +177,10 @@

    Active patterns

    - + ( |Header|_| ) _arg1 -
    +
    Signature: _arg1:Stream -> (string * Stream) option
    @@ -195,10 +195,10 @@

    Active patterns

    - + ( |Regex|_| ) pattern _arg1 -
    +
    Signature: pattern:string -> _arg1:Stream -> (string list * Stream) option
    @@ -213,10 +213,10 @@

    Active patterns

    - + ( |Section|_| ) _arg1 -
    +
    Signature: _arg1:Stream -> (Section * Stream) option
    @@ -231,10 +231,10 @@

    Active patterns

    - + ( |Sections|_| ) s -
    +
    Signature: s:Stream -> (Section list * Stream) option
    @@ -249,10 +249,10 @@

    Active patterns

    - + ( |Setting|_| ) _arg1 -
    +
    Signature: _arg1:Stream -> (Setting * Stream) option
    @@ -267,10 +267,10 @@

    Active patterns

    - + ( |Settings|_| ) s -
    +
    Signature: s:Stream -> (Setting list * Stream) option
    diff --git a/reference/fsharp-configuration-inifileprovider.html b/reference/fsharp-configuration-inifileprovider.html index f226f9f1..be968910 100644 --- a/reference/fsharp-configuration-inifileprovider.html +++ b/reference/fsharp-configuration-inifileprovider.html @@ -67,10 +67,10 @@

    Functions and values

    - + getValue iniFileName section key -
    +
    Signature: iniFileName:string -> section:string -> key:string -> Value option
    diff --git a/reference/fsharp-configuration-resxprovider-0.html b/reference/fsharp-configuration-resxprovider-0.html index b0bf8698..2b3df2fb 100644 --- a/reference/fsharp-configuration-resxprovider-0.html +++ b/reference/fsharp-configuration-resxprovider-0.html @@ -47,10 +47,10 @@

    Static parameters

    - + file -
    +
    Signature: string
    diff --git a/reference/fsharp-configuration-resxprovider.html b/reference/fsharp-configuration-resxprovider.html index 12f75747..8b79bd22 100644 --- a/reference/fsharp-configuration-resxprovider.html +++ b/reference/fsharp-configuration-resxprovider.html @@ -50,10 +50,10 @@

    Functions and values

    - + readValue (filePath, name) -
    +
    Signature: (filePath:FilePath * name:string) -> obj
    diff --git a/reference/fsharp-configuration-yamlconfig.html b/reference/fsharp-configuration-yamlconfig.html index ea39cfed..f54cbe80 100644 --- a/reference/fsharp-configuration-yamlconfig.html +++ b/reference/fsharp-configuration-yamlconfig.html @@ -48,10 +48,10 @@

    Static parameters

    - + FilePath -
    +
    Signature: string (optional, default = "")
    @@ -67,10 +67,10 @@

    Static parameters

    - + ReadOnly -
    +
    Signature: bool (optional, default = false)
    @@ -86,10 +86,10 @@

    Static parameters

    - + YamlText -
    +
    Signature: string (optional, default = "")
    diff --git a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html index c9a5ee3c..88671b03 100644 --- a/reference/fsharp-configuration-yamlconfigtypeprovider-root.html +++ b/reference/fsharp-configuration-yamlconfigtypeprovider-root.html @@ -47,10 +47,10 @@

    Constructors

    - + new() -
    +
    Signature: unit -> Root
    @@ -73,10 +73,10 @@

    Instance members

    - + Load(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -92,10 +92,10 @@

    Instance members

    - + Load(reader) -
    +
    Signature: reader:TextReader -> unit
    @@ -111,10 +111,10 @@

    Instance members

    - + LoadAndWatch(filePath) -
    +
    Signature: filePath:string -> IDisposable
    @@ -131,10 +131,10 @@

    Instance members

    - + LoadText(yamlText) -
    +
    Signature: yamlText:string -> unit
    @@ -150,10 +150,10 @@

    Instance members

    - + Save() -
    +
    Signature: unit -> unit
    @@ -171,10 +171,10 @@

    Instance members

    - + Save(filePath) -
    +
    Signature: filePath:string -> unit
    @@ -190,10 +190,10 @@

    Instance members

    - + Save(writer) -
    +
    Signature: writer:TextWriter -> unit
    @@ -209,10 +209,10 @@

    Instance members

    - + Save(stream) -
    +
    Signature: stream:Stream -> unit
    diff --git a/reference/samples-fsharp-providedtypes-providedassembly.html b/reference/samples-fsharp-providedtypes-providedassembly.html index b28f2aa2..00724d1c 100644 --- a/reference/samples-fsharp-providedtypes-providedassembly.html +++ b/reference/samples-fsharp-providedtypes-providedassembly.html @@ -48,10 +48,10 @@

    Constructors

    - + new(assemblyFileName) -
    +
    Signature: assemblyFileName:string -> ProvidedAssembly
    @@ -74,10 +74,10 @@

    Instance members

    - + AddNestedTypes(...) -
    +
    Signature: (types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit
    @@ -92,10 +92,10 @@

    Instance members

    - + AddTypes(types) -
    +
    Signature: (types:ProvidedTypeDefinition list) -> unit
    @@ -124,10 +124,10 @@

    Static members

    - + RegisterGenerated(fileName) -
    +
    Signature: fileName:string -> Assembly
    diff --git a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html index 41138a55..d67db636 100644 --- a/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html +++ b/reference/samples-fsharp-providedtypes-typeproviderfornamespaces.html @@ -49,10 +49,10 @@

    Instance members

    - + Invalidate() -
    +
    Signature: unit -> unit
    @@ -68,10 +68,10 @@

    Instance members

    - + RegisterProbingFolder(folder) -
    +
    Signature: folder:string -> unit
    @@ -87,10 +87,10 @@

    Instance members

    - + RegisterRuntimeAssemblyLocationAsProbingFolder(...) -
    +
    Signature: cfg:TypeProviderConfig -> unit
    @@ -106,10 +106,10 @@

    Instance members

    - + ResolveAssembly(arg1) -
    +
    Signature: ResolveEventArgs -> Assembly
    Modifiers: abstract
    From 968631db13fbce0127141e8679a2a3e40cfd9747 Mon Sep 17 00:00:00 2001 From: vasily-kirichenko Date: Sat, 1 Nov 2014 21:39:56 +0300 Subject: [PATCH 47/74] Update generated documentation for version 0.4.4 --- AppSettingsProvider.html | 3 ++- IniTypeProvider.html | 3 ++- ResXProvider.html | 3 ++- YamlConfigProvider.html | 3 ++- img/logo.pdn | Bin 0 -> 42796 bytes img/logo.png | Bin 0 -> 15394 bytes index.html | 3 ++- .../fsharp-configuration-appsettings.html | 7 ++++--- ...configuration-appsettingstypeprovider.html | 3 ++- ...eprovider-fsharpconfigurationprovider.html | 7 ++++--- ...harp-configuration-configtypeprovider.html | 3 ++- reference/fsharp-configuration-inifile.html | 7 ++++--- ...figuration-inifileprovider-parser-key.html | 11 +++++----- ...ration-inifileprovider-parser-section.html | 11 +++++----- ...on-inifileprovider-parser-sectionname.html | 11 +++++----- ...ration-inifileprovider-parser-setting.html | 11 +++++----- ...uration-inifileprovider-parser-stream.html | 7 ++++--- ...guration-inifileprovider-parser-value.html | 3 ++- ...-configuration-inifileprovider-parser.html | 3 ++- .../fsharp-configuration-inifileprovider.html | 3 ++- .../fsharp-configuration-resxprovider-0.html | 7 ++++--- .../fsharp-configuration-resxprovider.html | 3 ++- .../fsharp-configuration-yamlconfig.html | 7 ++++--- ...iguration-yamlconfigtypeprovider-root.html | 7 ++++--- ...-configuration-yamlconfigtypeprovider.html | 3 ++- reference/index.html | 3 ++- ...fsharp-providedtypes-providedassembly.html | 7 ++++--- ...ovidedtypes-typeproviderfornamespaces.html | 19 +++++++++--------- 28 files changed, 92 insertions(+), 66 deletions(-) create mode 100644 img/logo.pdn create mode 100644 img/logo.png diff --git a/AppSettingsProvider.html b/AppSettingsProvider.html index 95f2e1a2..d4ac5258 100644 --- a/AppSettingsProvider.html +++ b/AppSettingsProvider.html @@ -124,7 +124,8 @@

    -

    -