Change Cauldron.Dump to Cauldron.Output

This commit is contained in:
Neil Brommer 2023-07-24 15:56:12 -07:00
parent b46debb420
commit c14ef4ed80
2 changed files with 17 additions and 2 deletions

View File

@ -11,7 +11,7 @@ public class CauldronWriter
this.OutputFunc = outputFunc;
}
public async Task Dump(object obj)
public async Task Output(object obj)
{
await this.OutputFunc(obj);
}

View File

@ -537,7 +537,22 @@
<paragraphStyle key="NSParagraphStyle" alignment="natural" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
</attributes>
</fragment>
<fragment content=".Dump(&quot;From Script&quot;);">
<fragment content=".">
<attributes>
<color key="NSColor" name="textColor" catalog="System" colorSpace="catalog"/>
<font key="NSFont" size="14" name="Menlo-Regular"/>
<font key="NSOriginalFont" size="14" name="Menlo-Regular"/>
<paragraphStyle key="NSParagraphStyle" alignment="natural" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
</attributes>
</fragment>
<fragment content="Output">
<attributes>
<color key="NSColor" name="textColor" catalog="System" colorSpace="catalog"/>
<font key="NSFont" size="14" name="Menlo-Regular"/>
<paragraphStyle key="NSParagraphStyle" alignment="natural" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
</attributes>
</fragment>
<fragment content="(&quot;From Script&quot;);">
<attributes>
<color key="NSColor" name="textColor" catalog="System" colorSpace="catalog"/>
<font key="NSFont" size="14" name="Menlo-Regular"/>