Class AbstractLoadOptionsProvider
Implementation to provide multiple load options for processes that use multiple inputs(such as template files).
Implementation to provide multiple load options for processes that use multiple inputs(such as template files).
public abstract class AbstractLoadOptionsProvider
Inheritance
object ← AbstractLoadOptionsProvider
Inherited Members
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
Remarks
For example, Sheetize.SpreadsheetMerger feature requires multiple template files to merge.
Constructors
AbstractLoadOptionsProvider()
protected AbstractLoadOptionsProvider()
Properties
Current
Gets the load options from which to load data of currently processed part.
public abstract LoadOptions Current { get; }
Property Value
Methods
Finish(LoadOptions)
Releases resources after processing currently part of input.
public virtual void Finish(LoadOptions part)
Parameters
part
LoadOptions: the load options used for currently split part.
Remarks
By default this method just closes the stream specified by the Sheetize.LoadOptions.InputStream directly(if the load options specified a Stream as source). User may overwrite this method to control how to release resources according to their requirement and the implementation of Sheetize.AbstractLoadOptionsProvider.Current.
MoveNext()
Checks whether there is more input.
public abstract bool MoveNext()
Returns
bool :
Namespace: Sheetize Assembly: Sheetize.dll