protobuf-net / protobuf-net.Grpc

GRPC bindings for protobuf-net and grpc-dotnet
Other
846 stars 106 forks source link

Supports generating order values through C# analyzers #312

Open zhoudi94 opened 8 months ago

zhoudi94 commented 8 months ago

image https://github.com/MessagePack-CSharp/MessagePack-CSharp#nuget-packages Install-Package MessagePackAnalyzer

[DataContract]
public class MultiplyRequest
{
    //Automatic generated
    [DataMember(Order = 1)]
    public int X { get; set; }
   //Automatic generated
    [DataMember(Order = 2)]
    public int Y { get; set; }
}

This function is very useful and can greatly improve development efficiency.