Table of Contents

Interface ILibraryLocalCopies

Namespace
EncDotNet.S100.Collections.Library
Assembly
EncDotNet.S100.Collections.dll

The downloaded copies of online library items, as far as an item's state needs them: where a copy is, and whether it is behind the source.

public interface ILibraryLocalCopies

Methods

IsOutdated(CollectionItem)

True when the downloaded copy of item is an older edition or update.

bool IsOutdated(CollectionItem item)

Parameters

item CollectionItem

Returns

bool

LocalEditionOf(CollectionItem)

The edition of item's downloaded copy, or null when not downloaded (or unknown).

int? LocalEditionOf(CollectionItem item)

Parameters

item CollectionItem

Returns

int?

LocalPublishedAtOf(CollectionItem)

When item's downloaded copy was published (for a forecast, its run time), or null when not downloaded (or unknown).

DateTimeOffset? LocalPublishedAtOf(CollectionItem item)

Parameters

item CollectionItem

Returns

DateTimeOffset?

Localize(CollectionItem)

Returns item with a local location when it is an online item that has been downloaded; otherwise the item itself.

CollectionItem Localize(CollectionItem item)

Parameters

item CollectionItem

Returns

CollectionItem