public static void WriteSingle(TaskDocumentWriter taskWriter, Prescription prescription)
{
if (prescription == null)
return;
var rasterPrescription = prescription as RasterGridPrescription;
if (rasterPrescription != null)
{
var writer = new PrescriptionWriter(taskWriter);
writer.WritePrescription(rasterPrescription);
}
}