コード例 #1
0
ファイル: ModelInfo.cs プロジェクト: huberrob/fhir-dstu1
 public static string GetFhirTypeForType(Type type)
 {
     if (!FhirCsTypeToString.ContainsKey(type))
     {
         return(null);
     }
     else
     {
         return(FhirCsTypeToString[type]);
     }
 }
コード例 #2
0
 public static string GetResourceNameForType(Type resourceType)
 {
     if (!FhirCsTypeToString.ContainsKey(resourceType))
     {
         return(null);
     }
     else
     {
         return(FhirCsTypeToString[resourceType]);
     }
 }