public bool GenerateOptionSet(OptionSetMetadataBase optionSetMetadata, IServiceProvider services) { if (EnumFilter.GenerateOptionSet(optionSetMetadata, services)) { OptionSetMetadata.Add(optionSetMetadata.MetadataId.GetValueOrDefault(), optionSetMetadata); } return(DefaultService.GenerateOptionSet(optionSetMetadata, services)); }
public bool GenerateOptionSet(OptionSetMetadataBase optionSetMetadata, IServiceProvider services) { //if (optionSetMetadata.OptionSetType.Value == OptionSetType.State // || optionSetMetadata.OptionSetType.Value == OptionSetType.Status // || optionSetMetadata.OptionSetType.Value == OptionSetType.Picklist && optionSetMetadata.IsGlobal == false) //{ // return true; //} //else //{ return(DefaultService.GenerateOptionSet(optionSetMetadata, services)); // } }
public bool GenerateOptionSet(OptionSetMetadataBase optionSetMetadata, IServiceProvider services) { return(DefaultService.GenerateOptionSet(optionSetMetadata, services)); }