Table of Contents

Class UpdateResult

Namespace
SunamoXliffParser
Assembly
SunamoXliffParser.dll

Contains the results of an XLIFF update operation, listing added, removed, and updated item identifiers.

public class UpdateResult
Inheritance
UpdateResult
Inherited Members
Extension Methods

Constructors

UpdateResult(IEnumerable<string>, IEnumerable<string>, IEnumerable<string>)

Initializes a new instance of the UpdateResult class.

public UpdateResult(IEnumerable<string> addedItems, IEnumerable<string> removedItems, IEnumerable<string> updatedItems)

Parameters

addedItems IEnumerable<string>

The identifiers of items that were added.

removedItems IEnumerable<string>

The identifiers of items that were removed.

updatedItems IEnumerable<string>

The identifiers of items that were updated.

Properties

AddedItems

Gets or sets the identifiers of items that were added.

public IEnumerable<string> AddedItems { get; set; }

Property Value

IEnumerable<string>

RemovedItems

Gets or sets the identifiers of items that were removed.

public IEnumerable<string> RemovedItems { get; set; }

Property Value

IEnumerable<string>

UpdatedItems

Gets or sets the identifiers of items that were updated.

public IEnumerable<string> UpdatedItems { get; set; }

Property Value

IEnumerable<string>

Methods

Any()

Determines whether any items were added, removed, or updated.

public bool Any()

Returns

bool

True if any items were changed; otherwise, false.