AgGateway.ADAPT.ISOv4Plugin.Writers.PrescriptionWriter.WriteSingle C# (CSharp) Method

WriteSingle() public static method

public static WriteSingle ( TaskDocumentWriter taskWriter, AgGateway.ADAPT.ApplicationDataModel.Prescriptions.Prescription prescription ) : void
taskWriter TaskDocumentWriter
prescription AgGateway.ADAPT.ApplicationDataModel.Prescriptions.Prescription
return void
        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);
            }
        }