Class DimensionDefinition
- Namespace
- ToSic.Eav.Data.Sys.Dimensions
- Assembly
- ToSic.Eav.Data.dll
The definition of a dimension / language.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public record DimensionDefinition : IEquatable<DimensionDefinition>
- Inheritance
-
objectDimensionDefinition
- Implements
Properties
Active
If this dimension is active.
public required bool Active { get; init; }
Property Value
Key
The key/id, in case of a language this would be something like "en" or "en-us".
public required string Key { get; init; }
Property Value
Remarks
It's always lower case
Name
The name - in case of a language this would be something like "English"
public required string Name { get; init; }
Property Value
Methods
Matches(string)
Compares two keys to see if they are the same.
public bool Matches(string environmentKey)
Parameters
environmentKeystring