我很少有具体使用以下类型的接口
interface IActivity<T>
{
    bool Process(T inputInfo);
}
具体类如下
class ReportActivityManager :IActivity<DataTable>
{
    public bool Process(DataTable inputInfo)
    {
        // Some coding here
    }
}
class AnalyzerActivityManager :IActivity<string[]>
{
    public bool Process(string[] inputInfo)
    {
        // Some coding here
    }
}
现在我如何编写工厂类来重新调整通用接口,比如 IActivity。
class Factory
{
    public IActivity<T> Get(string module)
    {
        // ... How can i code here
    }
}
谢谢