public async Task SetIdAsync(Track.IdKey idKey) { if (idKey == null) { new ArgumentNullException(nameof(idKey)); } Id = await IdFormat(idKey); }
public static async Task <string> IdFormat(Track.IdKey idKey) { if (idKey == null) { new ArgumentNullException(nameof(idKey)); } await idKey.ValidateObjectAsync(); return($"claimmap:{idKey.TenantName}:{idKey.TrackName}"); }
public static string PartitionIdFormat(Track.IdKey idKey) => $"{idKey.TenantName}:{idKey.TrackName}";