Consider the following:
考虑以下:
public interface ICleanCoder
{
void DoSomeCoding(object task);
}
public interface ICleanCoder<T>
{
void DoSomeCoding(T task);
}
...
public class TestCleanCoding
{
void RegisterCleanCoder(ICleanCoder coder);
}
public interf