mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-08 08:56:35 +08:00
1. 重新设计了Generate项目及相关特性的命名,避免与其他类型混淆。
2. 补充了部分注释。 3. 修改了删除容器节点时,容器内子节点未正确删除的问题。
This commit is contained in:
@@ -33,7 +33,11 @@ namespace Serein.NodeFlow.Tool
|
||||
/// </summary>
|
||||
public override Encoding Encoding => Encoding.UTF8;
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 重写Write方法,处理单个字符的写入
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
public override void Write(char value)
|
||||
{
|
||||
stringWriter.Write(value);
|
||||
@@ -43,6 +47,10 @@ namespace Serein.NodeFlow.Tool
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 重写Write方法,处理字符串的写入
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
public override void Write(string? value)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(value)) return;
|
||||
@@ -53,6 +61,10 @@ namespace Serein.NodeFlow.Tool
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 重写WriteLine方法,处理字符串的换行写入
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
public override void WriteLine(string? value)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(value)) return;
|
||||
|
||||
Reference in New Issue
Block a user