public Asset(string text, AssetType type) { if (text == null) throw new ArgumentNullException("text"); Text = text; Type = type; }