- ALM used (Azure DevOps)
- CI system used (Azure DevOps)
- C#
Hi,
We got the warning S2326: ‘T’ is not used in the interface.
We are not using the T in the interface, but we are using the interface in multiple implementations, and we need the T in the interface so we can use it when we register the implementations via the dependency injection, e.g.:
private readonly IFileContentValidation < Driver > _driverFileContentValidation;
private readonly IFileContentValidation< CustomerProfile > _customerProfileFileContentValidation;
Any suggestions on how to deal with this not used in the interface but used in the DI register situation?