public static FilterToUseType GetOptionFilterToUse() { switch (FilterToUseInt) { case 0: return FilterToUseType.UseConfiguredFile; case 1: return FilterToUseType.UseEmbedded; } return FilterToUseType.UseConfiguredFile; }