Zebus.MessageDsl.Tool 1.5.0

dotnet tool install --global Zebus.MessageDsl.Tool --version 1.5.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Zebus.MessageDsl.Tool --version 1.5.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Zebus.MessageDsl.Tool&version=1.5.0
                    
nuke :add-package Zebus.MessageDsl.Tool --version 1.5.0
                    

Zebus Message DSL

This is a DSL which simplifies the writing of ProtoBuf contracts for Zebus.

See the GitHub repository for more information.

Example

Input file:

SomeMessage(int foo, string[] bar)

Generated code:

[ProtoContract]
public sealed partial class SomeMessage : IEvent
{
    [ProtoMember(1, IsRequired = true)]
    public int Foo { get; private set; }
        
    [ProtoMember(2, IsRequired = false)]
    public string[] Bar { get; private set; }
        
    private SomeMessage()
    {
        Bar = Array.Empty<string>();
    }
        
    public SomeMessage(int foo, string[] bar)
    {
        Foo = foo;
        Bar = bar;
    }
}
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.5.0 96 3/28/2025