public virtual bool ExportSoapType(Type type) { return !type.IsGenericTypeDefinition() && !type.AllAttributes<ExcludeAttribute>() .Any(attr => attr.Feature.Has(Feature.Soap)); }