Table of Contents
These v19 docs are archived 🔒. Go to the latest docs home or try if this exact page is available in the latest docs.

Class LookUpIn<T>

Namespace
ToSic.Eav.LookUp
Assembly
ToSic.Eav.Core.dll
[PublicApi]
public abstract class LookUpIn<T> : LookUpBase, ILookUp

Type Parameters

T
Inheritance
object
LookUpIn<T>
Implements
Derived
Inherited Members

Constructors

LookUpIn(T, string, string)

protected LookUpIn(T data, string name = "source without name", string description = null)

Parameters

data T
name string
description string

Properties

Data

protected T Data { get; }

Property Value

T

Methods

GetContents()

The underlying, original object. Helpful for external objects which need the real, underlying item.
Avoid using this property for use inside the real object, but create another property for this, so it's easier to spot dependencies.

public T GetContents()

Returns

T

SetData(T)

protected void SetData(T newData)

Parameters

newData T