Cleanup in Mappings is not working properly
Posted: Wed Feb 19, 2020 12:57 pm
Hello,
the Cleanup in Mappings is not working properly. It doesn't seem to take generic classes into account.
Example
The Cleanup displays "WorkingAreaTab" as unused!
Sincerely yours
GeCi
the Cleanup in Mappings is not working properly. It doesn't seem to take generic classes into account.
Example
Code: Select all
internal abstract class Helper<T>
where T : RepoGenBaseFolder
{
protected readonly HelperInformation _helperInformation;
protected Helper(HelperInformation helperInformation, T control, string basePath = null)
{
_helperInformation = helperInformation;
Control = control;
if (basePath != null)
{
Control.BasePath = basePath;
}
}
protected TestHelper BasicTestHelper => _helperInformation.BasicTestHelper;
protected Logger Logger => _helperInformation.Logger;
private protected T Control { get; }
}
Code: Select all
internal sealed class EditorAreaControlHelper : Helper<MappingFolders.EditorAreaControlAppFolder>
{
public EditorAreaControlHelper(HelperInformation helperInformation, string basePath) :
base(helperInformation, Mapping.Instance.Controls.EditorAreaControl, basePath)
{ }
private MappingFolders.WorkingAreaTabFolder WorkingAreaTab => Control.WorkingAreaTab;
}
Sincerely yours
GeCi