public override void Check() { if (String.IsNullOrEmpty(PublicId)) throw new ArgumentException("PublicId must be specified in UploadParams!"); }