BrightSword.RoslynWrapper
1.0.2
dotnet add package BrightSword.RoslynWrapper --version 1.0.2
NuGet\Install-Package BrightSword.RoslynWrapper -Version 1.0.2
<PackageReference Include="BrightSword.RoslynWrapper" Version="1.0.2" />
paket add BrightSword.RoslynWrapper --version 1.0.2
#r "nuget: BrightSword.RoslynWrapper, 1.0.2"
// Install BrightSword.RoslynWrapper as a Cake Addin #addin nuget:?package=BrightSword.RoslynWrapper&version=1.0.2 // Install BrightSword.RoslynWrapper as a Cake Tool #tool nuget:?package=BrightSword.RoslynWrapper&version=1.0.2
F# wrapper for Roslyn CodeGeneration API
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.2 | 1,067 | 12/31/2016 |
1.0.1 | 948 | 12/31/2016 |
1.0.0 | 1,000 | 12/29/2016 |
0.0.1-beta | 1,213 | 12/13/2016 |
Clean-up and Document
The following inline functions generate expressions as follows:
<&&> - logical AND
<||> - logical OR
<^> - exclusive OR
<==> - equality
<!=> - inequality
! - logical NOT
<|.|> - dot access to fields
<.> - dot access to methods
<\??> - null coalesce
<|?.|> - conditional dot access to fields
<\?.> - conditional dot access to methods
|~> - inline form of ``as``
The following functions generate expressions and statements as follows:
``as`` ... : ( _ as _ )
``is`` ... : ( _ is _ )
``cast`` ... : (cast) ...
``await`` ... : await
``new`` ... : new ...
``=>`` ... : arrow expression
``:=`` ... : assignment expression
``return`` ... : return ...
``throw`` ... : throw ...
``_ =>`` ... : lambda expression with one parameter
``() =>`` ... : lambda expression with multiple parameters
ident ... : define an identifier
``type`` ... : define a type
The following functions generate syntax declarations - along with associated keywords
``namespace`` ... : namespace
``using`` ... : using
``interface`` ... : interface
``class`` ... : class
``constructor`` ... : constructor
``field`` ... : field
``method`` ... : method
``prop`` ... : read-write property
``propg`` ... : read-only property
``var`` ... : local variable declaration
``operator ==`` : equality operator
``operator !=`` : inequality operator
``explicit operator`` : explicit conversion operator
``implicit operator`` : implicit conversion operator
The following literal types are supported
string
char
int
long
double
float
decimal
uint32
uint64
``null`` : literal null
``false`` : literal false
``true`` : literal true