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