Ejemplo n.º 1
0
 public static TestPlatform ToTestPlatform(this MacFlavors flavor)
 {
     return(flavor switch
     {
         MacFlavors.Console => TestPlatform.Mac,
         MacFlavors.Full => TestPlatform.Mac_Full,
         MacFlavors.Modern => TestPlatform.Mac_Modern,
         MacFlavors.System => TestPlatform.Mac_System,
         _ => throw new NotImplementedException(flavor.ToString()),
     });
Ejemplo n.º 2
0
 public override string ToString()
 {
     return(base.ToString() + " (" + TargetFrameworkFlavors.ToString() + ")");
 }