using System; namespace StellaOps.Concelier.Merge.Identity; /// /// Normalized alias representation used within identity clusters. /// public sealed class AliasIdentity { public AliasIdentity(string value, string? scheme) { if (string.IsNullOrWhiteSpace(value)) { throw new ArgumentException("Alias value must be provided.", nameof(value)); } Value = value.Trim(); Scheme = string.IsNullOrWhiteSpace(scheme) ? null : scheme.Trim(); } public string Value { get; } public string? Scheme { get; } }