public bool GenerateOptionSet(OptionSetMetadataBase optionSetMetadata, IServiceProvider services) { if (EnumFilter.GenerateOptionSet(optionSetMetadata, services)) { OptionSetMetadata.Add(optionSetMetadata.MetadataId.GetValueOrDefault(), optionSetMetadata); } return(DefaultService.GenerateOptionSet(optionSetMetadata, services)); }