Exemple #1
0
 private string GetAdapterName(JobSourceAdapter sourceAdapter)
 {
     if (string.IsNullOrEmpty(sourceAdapter.Name))
     {
         return(sourceAdapter.GetType().ToString());
     }
     return(sourceAdapter.Name);
 }
 private static string GetAdapterName(JobSourceAdapter sourceAdapter)
 {
     return(!string.IsNullOrEmpty(sourceAdapter.Name) ?
            sourceAdapter.Name :
            sourceAdapter.GetType().ToString());
 }