Class AbstractSaveOptionsProvider
Implementation to provide multiple save options for processes that require multiple outputs. For example, Sheetize.SpreadsheetSplitter feature requires multiple destinations to save the split files.
Implementation to provide multiple save options for processes that require multiple outputs. For example, Sheetize.SpreadsheetSplitter feature requires multiple destinations to save the split files.
public abstract class AbstractSaveOptionsProvider
Inheritance
object ← AbstractSaveOptionsProvider
Derived
Inherited Members
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
Constructors
AbstractSaveOptionsProvider()
protected AbstractSaveOptionsProvider()
Methods
Finish(SaveOptions)
Releases resources after processing currently split part.
public virtual void Finish(SaveOptions part)
Parameters
part
SaveOptions: the save options used for currently split part.
Remarks
By default this method just closes the stream specified by the Sheetize.SaveOptions.OutputStream directly(if the save options specified a Stream as destination). User may overwrite this method to control how to release resources according to their requirement and the implementation of Sheetize.AbstractSaveOptionsProvider.GetSaveOptions(Sheetize.SplitPartInfo).
GetSaveOptions(SplitPartInfo)
Gets the save options from which to get the output settings for currently split part.
public abstract SaveOptions GetSaveOptions(SplitPartInfo part)
Parameters
part
SplitPartInfo
Returns
Namespace: Sheetize Assembly: Sheetize.dll