public CCError ValidateSettings(PluginSettingDetail setting) { string result = _plugin.ValidateSettings(V2Converter.ConvertSettingDetailToV2(setting)); CCError ret = new CCError() { source = string.IsNullOrEmpty(result) ? CCError.CCErrorSource.None : CCError.CCErrorSource.Internal, ErrorMessage = result }; return(ret); }
public V1.CCErrors ValidateSettings(V1.ISettingsDetail setting) { string result = _plugin.ValidateSettings(V1ProcessingDTOGenerator.ToV2(setting)); return(V1ProcessingDTOGenerator.GetCCErrors(result)); }