Exemple #1
0
 /// <summary>
 /// Convert the specified <see cref="HostFile"/> object to text.
 /// </summary>
 /// <param name="file">A <see cref="HostFile"/> object instance.</param>
 /// <returns>The text-representation of the specified <paramref name="file"/>.</returns>
 public string ConvertHostfileToText(HostFile file)
 {
     return(file != null?file.GetText() : string.Empty);
 }
 /// <summary>
 /// Convert the specified <see cref="HostFile"/> object to text.
 /// </summary>
 /// <param name="file">A <see cref="HostFile"/> object instance.</param>
 /// <returns>The text-representation of the specified <paramref name="file"/>.</returns>
 public string ConvertHostfileToText(HostFile file)
 {
     return file != null ? file.GetText() : string.Empty;
 }