Copied the 89 uncopied AI*SimulationUtility/extension files defining the AIVirtualCard/AIVirtualField extension methods; the compile loop then auto-closed the revealed type deps (~3049 files total, drift-clean). 10.0k -> 62 errors.
20 lines
320 B
C#
20 lines
320 B
C#
namespace Wizard;
|
|
|
|
public static class ConvertValue
|
|
{
|
|
public static int ToInt(object obj)
|
|
{
|
|
return int.Parse(obj.ToString());
|
|
}
|
|
|
|
public static long ToLong(object obj)
|
|
{
|
|
return long.Parse(obj.ToString());
|
|
}
|
|
|
|
public static bool ToBool(object obj)
|
|
{
|
|
return bool.Parse(obj.ToString());
|
|
}
|
|
}
|