ContentRepo.Get Method

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

Overloads

Get(int) Gets the specified Content from the repository.
Get(int, long) Gets a specified Content version from the repository.

Get(int)

Gets the specified Content from the repository.

public static Content Get(int id)

Parameters

id
int

Id of the Content.

Returns

Content

Returns an object implementing the Content interface.

Get(int, long)

Gets a specified Content version from the repository.

public static Content Get(int id, long timestamp)

Parameters

id
int

Id of the Content item.

timestamp
long

Timestamp of the version to return.

Returns

Content

Returns an instance of the Content class.