public override void Check() { if (string.IsNullOrEmpty(PublicId)) throw new ArgumentException("PublicId must be set!"); }