Class ImportResults
Encapsulates the results of an import process without keeping track of the individual action taken for each import TU. The ImportResults give more detail.
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
public class ImportResults : ImportStatistics, IEnumerable<ImportResult>, IEnumerable
Constructors
ImportResults()
Constructor. Creates an empty instance of ImportResult.
Declaration
public ImportResults()
ImportResults(IList<ImportResult>)
Constructor. Initializes a new instance of the ImportResults class.
Declaration
public ImportResults(IList<ImportResult> importResults)
Parameters
Type | Name | Description |
---|---|---|
IListImportResult | importResults |
Properties
Count
Gets the total number of translation units processed during the import.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
int |
this[int]
Retrieves the action taken for the translation unit at the specified index.
Declaration
public ImportResult this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
int | index | The index of the translation unit. |
Property Value
Type | Description |
---|---|
ImportResult | The import result for the translation unit at the specified position. |
Methods
GetEnumerator()
Implementation for GetEnumerator
Declaration
public IEnumerator<ImportResult> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumeratorImportResult |