ExportProgress¶
Namespace Nfty.Core.Publish in assembly Nfty.Core.
How far an export has got.
Remarks¶
A step is a FILE, and the sheet is counted in the same units as everything else. An export is one long stretch of copying with an optional image stitch in front of it, and a bar that ran to the end and then sat still through the slowest part of the run would be worse than no bar. So stitching one asset and copying one file are each one step, which makes the fraction roughly track the work rather than the file count.
Constructors¶
ExportProgress(int, int, string)¶
Parameters
Done(int) - Steps finished.Total(int) - Steps in the whole run.Phase(string) - What is happening, in the words a person would use.
Remarks
A step is a FILE, and the sheet is counted in the same units as everything else. An export is one long stretch of copying with an optional image stitch in front of it, and a bar that ran to the end and then sat still through the slowest part of the run would be worse than no bar. So stitching one asset and copying one file are each one step, which makes the fraction roughly track the work rather than the file count.
Properties¶
Done¶
Steps finished.
Fraction¶
Progress as a 0..1 fraction. Zero when there is nothing to do.
Phase¶
What is happening, in the words a person would use.
Total¶
Steps in the whole run.