Table of Contents

Class LookUpInNameValueCollection

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

Look-Up helper to get something from a standard .net NameValueCollection.
Read more about this in LookUp System

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

Constructors

LookUpInNameValueCollection(string, NameValueCollection)

Look-Up helper to get something from a standard .net NameValueCollection.
Read more about this in LookUp System

public LookUpInNameValueCollection(string name, NameValueCollection list)

Parameters

name string
list NameValueCollection

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