Exemple #1
0
 /// <summary>
 /// 返回一个包含<see cref="SheetName"/>和<see cref="LocalAddress"/>的单元格地址
 /// </summary>
 /// <returns></returns>
 public override string ToString()
 {
     if (String.IsNullOrEmpty(SheetName))
     {
         return(LocalAddress);
     }
     if (SheetName.Contains(" "))
     {
         return($"'{SheetName}'!{LocalAddress}");
     }
     return($"{SheetName}!{LocalAddress}");
 }