Table of Contents

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
LookUpInLookUps
Implements
Inherited Members

Constructors

LookUpInLookUps(string, ILookUp, ILookUp, ILookUp, ILookUp)

Generate a lookup-of-lookups.

public LookUpInLookUps(string name, ILookUp first, ILookUp second = null, ILookUp third = null, ILookUp fourth = null)

Parameters

name string

Name to use - if stored in a list

first ILookUp

First LookUp source

second ILookUp

Second LookUp source

third ILookUp

Optional third

fourth ILookUp

Optional fourth

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