Iso15924ScriptCodeAttribute Class
Definition
Namespace: DataStandardizer.Language
Describes an Iso15924Script code member with its metadata: the script’s age, alias, and date. English and French names are inherited from CodeAttributeBase.
[AttributeUsage(AttributeTargets.Field)]
public sealed class Iso15924ScriptCodeAttribute : CodeAttributeBase
Remarks
This attribute is applied to each member of Iso15924Script. Its constructors are internal, so you read the metadata through the Iso15924Extensions accessors rather than constructing the attribute yourself.
Properties
| Property | Signature | Notes |
|---|---|---|
Age | double? Age { get; } | The Unicode version in which the script was encoded, or null. |
Alias | string? Alias { get; set; } | The alias for the script code, or null. |
Date | DateOnly? Date { get; } (net10.0 only) / DateTime? Date { get; } | The script code’s date. Returns a DateOnly? on the net10.0 target and a DateTime? on the .NET Standard targets. |
Inherited from CodeAttributeBase: EnglishName, EnglishNames, FrenchName, FrenchNames.
Applies to
Targets netstandard1.0, netstandard2.0, and net10.0. The Date property is DateOnly? on the net10.0 build and DateTime? on the netstandard1.0 and netstandard2.0 builds. On the .NET Standard targets the Alias property is annotated with [MaybeNull, AllowNull] from System.Diagnostics.CodeAnalysis rather than a C# nullable reference type. A project gets null warnings from them only on C# 8 or later with nullable enabled.