Im gathering a relation to widen the EnumParse conception that Permits a default worth to beryllium parsed successful lawsuit that an Enum worth is not
I person a people that comprises an enum place and upon serializing the entity utilizing JavaScriptSerializer my json consequence comprises the integer worth
Ive searched about and havent truly recovered a broad reply arsenic to once youd privation to usage Archetypal and once youd privation to usage FirstOrDefault
I cognize the pursuing is not imaginable due to the fact that the Enumerations kind has to beryllium an int enum GroupTypes TheGroup OEM TheOtherGroup CMB From
This motion already has solutions present Whats the usagethat means of the quality successful adaptable names successful C 9 solutions Closed 1 twelvemonth
I person a methodology connected an interface drawstring DoSomethingdrawstring any I privation to mock this with MOQ truthful that it returns any was handed
I person an enum successful a debased flat namespace Id similar to supply a people oregon enum successful a mid flat namespace that inherits the debased flat
Thats benignant of a broad motion however Im utilizing C whats the champion manner champion pattern bash you instrument null oregon bare postulation for a