示例#1
0
 // The pipeline will ensure that input is of type Tin before this is called, so null will never be passed accidentally
 void IContentWriter.Write(object input, ContentStream writer, WriterContext ctx) => Write(input as Tin, writer, ctx);
示例#2
0
 /// <summary>
 /// Writes the processed content data out to the content file to be consumed by a Spectrum application.
 /// </summary>
 /// <param name="input">The processed content data to write.</param>
 /// <param name="writer">The stream used to write the content data to a content file.</param>
 /// <param name="ctx">The context information about the current processing step.</param>
 public abstract void Write(Tin input, ContentStream writer, WriterContext ctx);