public virtual bool Contains(string extension) { if (Additional != null && Additional.Contains(extension)) { return(true); } else { return(Allowed.Contains(extension)); } }