Table of Contents

Interface IItemsSource<TValue>

Namespace
Ecng.ComponentModel
Assembly
Ecng.ComponentModel.dll

Represents a strongly typed source of items.

public interface IItemsSource<TValue> : IItemsSource

Type Parameters

TValue

The type of the value represented in the items.

Inherited Members
Extension Methods

Properties

Values

Gets the collection of strongly typed items.

IEnumerable<IItemsSourceItem<TValue>> Values { get; }

Property Value

IEnumerable<IItemsSourceItem<TValue>>

Methods

CreateNewItem(TValue)

Creates a new strongly typed item using the specified value.

IItemsSourceItem<TValue> CreateNewItem(TValue value)

Parameters

value TValue

The value for creating the new item.

Returns

IItemsSourceItem<TValue>

The newly created strongly typed item.