Table of Contents

Class RawConvertOptions

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

Options which may be needed to create new IEntitys from IRawEntity.

[PublicApi]
public class RawConvertOptions
Inheritance
RawConvertOptions

Remarks

Added in 15.04

Constructors

RawConvertOptions(NoParamOrder, IEnumerable<string>)

public RawConvertOptions(NoParamOrder noParamOrder = default, IEnumerable<string> addKeys = null)

Parameters

noParamOrder NoParamOrder
addKeys IEnumerable<string>

Properties

KeysToAdd

List of keys to add. These are keys which would not be added by default, either because they take computing resources or because they are often not needed.

This should happen at the RawEntity-level which generates the dictionary as it's more efficient.

public ImmutableHashSet<string> KeysToAdd { get; }

Property Value

ImmutableHashSet<string>

Methods

ShouldAddKey(string)

public bool ShouldAddKey(string key)

Parameters

key string

Returns

bool