Class MergeResult
Describes the outcome of a MergeFrom(IEnumerable<Workbook>, MergeOptions) operation.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class MergeResult
Constructors
MergeResult(IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyList<string>)
Initializes a new instance of the MergeResult class.
Declaration
public MergeResult(IReadOnlyList<string> copiedSheets, IReadOnlyList<string> skippedSheets, IReadOnlyList<string> replacedSheets)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<string> | copiedSheets | The names of the worksheets copied into the target, in copy order. |
| IReadOnlyList<string> | skippedSheets | The names of source sheets skipped due to name conflicts (Skip mode only). |
| IReadOnlyList<string> | replacedSheets | The names of target sheets that were replaced (Overwrite mode only). |
Properties
CopiedSheetCount
Gets the number of worksheets copied into the target.
Declaration
public int CopiedSheetCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
CopiedSheets
Gets the names of the worksheets copied into the target, in copy order.
Declaration
public IReadOnlyList<string> CopiedSheets { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
ReplacedSheets
Gets the names of target sheets that were replaced (Overwrite mode only).
Declaration
public IReadOnlyList<string> ReplacedSheets { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
SkippedSheets
Gets the names of source sheets skipped due to name conflicts (Skip mode only).
Declaration
public IReadOnlyList<string> SkippedSheets { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |