Exemplo n.º 1
0
 public object GetValue()
 {
     return(Text switch
     {
         FTextHistory.DateTime dateTime => dateTime.GetValue(),
         FTextHistory.OrderedFormat orderedFormat => orderedFormat.GetValue(),
         FTextHistory.FormatNumber formatNumber => formatNumber.GetValue(),
         FTextHistory.StringTableEntry stringTableEntry => stringTableEntry.GetValue(),
         FTextHistory.None none => none.CultureInvariantString,
         _ => Text
     });
Exemplo n.º 2
0
 public object GetValue()
 {
     return(Text switch
     {
         FTextHistory.DateTime dateTime => dateTime.GetValue(),
         FTextHistory.OrderedFormat orderedFormat => orderedFormat.GetValue(),
         FTextHistory.FormatNumber formatNumber => formatNumber.GetValue(),
         FTextHistory.StringTableEntry stringTableEntry => stringTableEntry.GetValue(),
         FTextHistory.AsTime asTime => asTime.GetValue(),
         FTextHistory.AsDate asDate => asDate.GetValue(),
         FTextHistory.ArgumentDataFormat argumentDataFormat => argumentDataFormat.GetValue(),
         FTextHistory.Transform transform => transform.GetValue(),
         FTextHistory.None none => none.CultureInvariantString,
         _ => Text
     });