Ejemplo n.º 1
0
 // The pipeline will ensure that input is of type Tin before this is called, so null will never be passed accidentally
 object IContentProcessor.Process(object input, ProcessorContext ctx) => Process(input as Tin, ctx);
Ejemplo n.º 2
0
 /// <summary>
 /// Performs the processing step to convert the imported content data into the output data.
 /// </summary>
 /// <param name="input">The imported content data from a <see cref="ContentImporter{Tout}"/> instance.</param>
 /// <param name="ctx">The context information about the current processing step.</param>
 /// <returns>The data to pass into the content processing step.</returns>
 public abstract Tout Process(Tin input, ProcessorContext ctx);