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

Enum get member value with unit tests #624

Merged
merged 2 commits into from
Jan 17, 2023
Merged

Enum get member value with unit tests #624

merged 2 commits into from
Jan 17, 2023

Conversation

wangkanai
Copy link
Owner

[Flags]
public enum Country
{
	[Description("ประเทศไทย")]
	Thailand  = 0,

	[EnumMember(Value = "jp")]
	Japan     = 1 << 0,
	Singapore = 1 << 1,
	Australia = 1 << 2
}

@wangkanai wangkanai merged commit 4aa3425 into federation Jan 17, 2023
@wangkanai wangkanai deleted the system branch January 17, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant