MGen 0.0.1-beta
This is a prerelease version of MGen.
dotnet add package MGen --version 0.0.1-beta
NuGet\Install-Package MGen -Version 0.0.1-beta
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MGen" Version="0.0.1-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MGen --version 0.0.1-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MGen, 0.0.1-beta"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MGen as a Cake Addin #addin nuget:?package=MGen&version=0.0.1-beta&prerelease // Install MGen as a Cake Tool #tool nuget:?package=MGen&version=0.0.1-beta&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MGen
MGen is a code generator library that can generate C# classes from interfaces. Here is a simple example of how it works:
[Generate]
public interface IHaveAnGuidId
{
Guid Id { get; set; }
}
The generated code will look like:
public class HaveAnGuidIdModel : IHaveAnGuidId
{
public System.Guid Id
{
get
{
return _Id;
}
set
{
_Id = value;
}
}
private System.Guid _Id;
public HaveAnGuidIdModel()
{
}
}
For a full list of supported features read this.
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
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 |
---|---|---|
0.0.1-beta | 940 | 10/16/2021 |