You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2020. It is now read-only.
Is there a way to parse enums in a case-insensitive way? At the moment, I'm doing (ProjectType)Enum.Parse(typeof(ProjectType), project.Get<string>("type"), true) since project.Get<ProjectType>("type") won't accept library as being equal to the enum member Library.
Is there a way to parse enums in a case-insensitive way? At the moment, I'm doing
(ProjectType)Enum.Parse(typeof(ProjectType), project.Get<string>("type"), true)sinceproject.Get<ProjectType>("type")won't acceptlibraryas being equal to the enum memberLibrary.