src/sys/dotnet/fanx/util/FanUtil.cs
/// <summary>
/// Given a .NET type signature, return the implementation
/// class signature for methods and fields:
/// </summary>
Given a .NET type signature, return the implementation
class signature for methods and fields.
Given a . NET type signature return the implementation class signature for methods and fields .
public static string toDotnetImplTypeName(string ntype)
    {
      if (ntype[0] == 'S')
      {
        if (ntype == "System.Boolean") return "Fan.Sys.FanBool";
        if (ntype == "System.Double") return "Fan.Sys.FanFloat";
        if (ntype == "System.Int64") return "Fan.Sys.FanInt";
        if (ntype == "System.String") return "Fan.Sys.FanStr";
        if (ntype == "System.Object") return "Fan.Sys.FanObj";
      }
      if (ntype[0] == 'F')
      {
        if (ntype == "Fan.Sys.BigDecimal") return "Fan.Sys.FanDecimal";
        if (ntype == "Fan.Sys.Number") return "Fan.Sys.FanNum";
      }
      return ntype;
    }
public static string toDotnetImplTypeName ( string ntype ) { if ( ntype [ 0 ] == ' ' ) { if ( ntype == " " ) return " " ; if ( ntype == " " ) return " " ; if ( ntype == " " ) return " " ; if ( ntype == " " ) return " " ; if ( ntype == " " ) return " " ; } if ( ntype [ 0 ] == ' ' ) { if ( ntype == " " ) return " " ; if ( ntype == " " ) return " " ; } return ntype ; }
Given a .NET type signature, return the implementation
class signature for methods and fields:
Given a . NET type signature return the implementation class signature for methods and fields :
ntype
string