Class RawConvertOptions
Options which may be needed to create new IEntitys from ToSic.Eav.Data.Raw.IRawEntity.
[PublicApi]
public class RawConvertOptions
- Inheritance
-
objectRawConvertOptions
Remarks
Added in 15.04
Constructors
RawConvertOptions(NoParamOrder, IEnumerable<string>)
public RawConvertOptions(NoParamOrder noParamOrder = default, IEnumerable<string> addKeys = null)
Parameters
noParamOrder
NoParamOrderaddKeys
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
Methods
ShouldAddKey(string)
public bool ShouldAddKey(string key)
Parameters
key
string