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 LookUpInLookUps

Namespace
ToSic.Eav.LookUp
Assembly
ToSic.Eav.Core.dll

This Value Provider chains two or more LookUps and tries one after another to deliver a result It's mainly used to override values which are given, by a special situation.
Read more about this in LookUp System

[PublicApi]
public class LookUpInLookUps : LookUpBase, ILookUp
Inheritance
object
LookUpInLookUps
Implements
Inherited Members

Constructors

LookUpInLookUps(string, IEnumerable<ILookUp>)

This Value Provider chains two or more LookUps and tries one after another to deliver a result It's mainly used to override values which are given, by a special situation.
Read more about this in LookUp System

public LookUpInLookUps(string name, IEnumerable<ILookUp> providers)

Parameters

name string

Name to use - if stored in a list

providers IEnumerable<ILookUp>

list of providers

Properties

Description

Additional description to better understand what each LookUp is for.

public override string Description { get; }

Property Value

string

Methods

Get(string, string)

Gets a value by Name/key and tries to format it in a special way (like for dates)

public override string Get(string key, string format)

Parameters

key string

Name of the Property

format string

Format String

Returns

string