mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-29 12:12:27 +00:00
Fix boolean StringElement serialization
This commit is contained in:
parent
f4460264c3
commit
dd91de3c87
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ namespace LBPUnion.ProjectLighthouse.Serialization
|
|||
|
||||
public static string StringElement(KeyValuePair<string, object> pair) => $"<{pair.Key}>{pair.Value}</{pair.Key}>";
|
||||
|
||||
public static string StringElement(string key, bool value) => $"<{key}>{value.ToString().ToLower()}</{key}>";
|
||||
|
||||
public static string StringElement(string key, object value) => $"<{key}>{value}</{key}>";
|
||||
|
||||
public static string TaggedStringElement
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue