Table of Contents

Interface IAttribute<T>

Namespace
ToSic.Eav.Data
Assembly
ToSic.Eav.Core.dll

Represents an Attribute (Property), but strongly typed

[PublicApi]
public interface IAttribute<out T> : IAttribute, IAttributeBase

Type Parameters

T

Type of the Value

Inherited Members

Remarks

We recommend you read about the Understanding Data...

Properties

this[int]

Gets the Value for the specified Language/Dimension using the ID accessor. Usually not needed. Typed.

T this[int languageId] { get; }

Parameters

languageId int

the language id (number)

Property Value

T

Typed

Gets the typed Value Objects - so the same as Values, but with the correct type

IEnumerable<IValue<out T>> Typed { get; }

Property Value

IEnumerable<IValue<T>>

TypedContents

Gets the typed first/default value

T TypedContents { get; }

Property Value

T