我正在编写一个通用代码,用于处理从多个来源加载数据的情况。我有一个具有以下签名的方法:publicstaticTResultLoadFromAnySource(thisTSectionsection,stringserviceBaseUri,stringnodeName)whereTSection:ConfigurationSectionwhereTResult:IDatabaseConfigurable,new()whereTContract:new()但这有点矫枉过正:当我通过TResult时,我已经知道什么了TContract和TSection确实是。在我的示例中:publici