public Id3Tag[] GetInfo(Id3Tag tag, InfoProviderInputs inputs) { try { _inputs = inputs ?? InfoProviderInputs.Default; if (!MeetsInputCriteria(tag)) { throw new InfoProviderException("Required inputs do not exist in the tag parameter"); } Id3Tag[] result = GetTagInfo(tag); return(result); } catch (InfoProviderException) { throw; } catch (TargetInvocationException ex) { throw new InfoProviderException(ex.InnerException.Message, ex.InnerException); } catch (Exception ex) { throw new InfoProviderException(ex.Message, ex); } }
public Id3Tag[] GetInfo(InfoProviderInputs inputs) { return(GetInfo(null, inputs)); }