Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supports generating order values through C# analyzers #312

Open
zhoudi94 opened this issue Oct 19, 2023 · 0 comments
Open

Supports generating order values through C# analyzers #312

zhoudi94 opened this issue Oct 19, 2023 · 0 comments

Comments

@zhoudi94
Copy link

zhoudi94 commented Oct 19, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant