public Dictionary <string, object> GetValue() { return(new Dictionary <string, object> { ["SourceText"] = SourceText.GetValue(), ["TransformType"] = TransformType }); }
public Dictionary <string, object> GetValue() { var array = new Dictionary <string, object> [Arguments.Length]; for (int i = 0; i < array.Length; i++) { array[i] = Arguments[i].GetValue(); } return(new Dictionary <string, object> { ["SourceFmt"] = SourceFmt.GetValue(), ["Arguments"] = array, }); }
public Dictionary <string, object> GetValue() { var ret = new object[Arguments.Length]; for (int i = 0; i < ret.Length; i++) { ret[i] = Arguments[i] switch { _ => Arguments[i].GetValue(), }; } return(new Dictionary <string, object> { ["FormatText"] = FormatText.GetValue(), ["Arguments"] = ret }); }