コード例 #1
0
 public void Should_Return_Correct_String_Value_When_Enum_Is_Valid_Other_Type(string expected, Retorno.TUf entry)
 {
     Assert.Equal(expected, TUfConversor.ToSiglaUf(entry));
 }
コード例 #2
0
ファイル: TUfConversor.cs プロジェクト: phsilvasantos/nfe-wpf
 public static string ToSiglaUf(Retorno.TUf uf)
 {
     return(Enum.GetName(typeof(Retorno.TUf), uf));
 }