Show / Hide Table of Contents

Interface IItemPopulator

Provides methods to populate an item that is being loaded into the main item view. This is used to populate certain children that need to be displayed inline, instead of in a reference picker.

Namespace: Algenta.Colectica.ViewModel
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public interface IItemPopulator

Properties

ItemType

Gets the type of item for which population methods are applicable.

Declaration
Guid ItemType { get; }
Property Value
Type Description
Guid

Methods

PopulateItem(IVersionable, RepositoryClientBase)

Populates selected children of the specified item.

Declaration
List<UnfoundChild> PopulateItem(IVersionable item, RepositoryClientBase client)
Parameters
Type Name Description
IVersionable item

The item to be populated.

RepositoryClientBase client

A RepositoryClientBaseclient that can be used to populate the item.

Returns
Type Description
List<UnfoundChild>

A list of children that could not be found.

PopulateLocalItem(IVersionable)

Populates selected children of the specified item, using the local database.

Declaration
List<UnfoundChild> PopulateLocalItem(IVersionable item)
Parameters
Type Name Description
IVersionable item

The item to be populated.

Returns
Type Description
List<UnfoundChild>

A list of children that could not be found.

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica