예제 #1
0
        private string HandleOptional(TypeScriptType typeScriptType)
        {
            var vt = typeScriptType as ValueType;

              if (vt != null)
              {
            return vt.IsNullable ? "?" : "";
              }

              return "";
        }
예제 #2
0
 private string GetPropertyComment(TypeScriptType p)
 {
     return null;
 }
예제 #3
0
 public string GetTypeName(TypeScriptType tst)
 {
     return "any";
 }
예제 #4
0
파일: Generator.cs 프로젝트: omeaart/CSTS
 private TypeScriptType ProcessTypeScriptType(Type t, TypeScriptType tst)
 {
     return tst;
 }
예제 #5
0
 public string GetModuleName(TypeScriptType type)
 {
     return "";
 }