public override string?GetMetadata(IFileSource.IFile file) { if (file.Path == null) { return(null); } using FileStream stream = new FileStream(file.Path, FileMode.Open); T tFile = this.Deserialize(stream); if (tFile.Author == null) { return(base.GetMetadata(file)); } return(tFile.Author + " - " + base.GetMetadata(file)); }
public virtual string?GetMetadata(IFileSource.IFile file) { return(this.Name); }