Class RawConvertOptions
Options which may be needed to create new IEntitys from IRawEntity.
Namespace: ToSic.Eav.Data.Raw
Assembly: ToSic.Eav.Core.dll
Syntax
[PublicApi]
public class RawConvertOptions
Remarks
Added in 15.04
Constructors
| Improve this Doc View SourceRawConvertOptions(string, IEnumerable<string>)
Declaration
public RawConvertOptions(string noParamOrder = "Params must be named (https://go.2sxc.org/named-params)", IEnumerable<string> addKeys = null)
Parameters
Type | Name | Description |
---|---|---|
string | noParamOrder | |
IEnumerable<string> | addKeys |
Properties
| Improve this Doc View SourceKeysToAdd
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.
Declaration
public ImmutableHashSet<string> KeysToAdd { get; }
Property Value
Type | Description |
---|---|
ImmutableHashSet<string> |
Methods
| Improve this Doc View SourceShouldAddKey(string)
Declaration
public bool ShouldAddKey(string key)
Parameters
Type | Name | Description |
---|---|---|
string | key |
Returns
Type | Description |
---|---|
bool |