开发者

Microsoft Moles Generic Method with output parameter

Hi I am trying to mole out this function from a public SettingsManager class

public static bool GetSetting<T>(Application application, int instanceId, out T Setting)开发者_如何学C     where T : ICacheSetting, new()

I've gotten this far

MSettingsManager.GetSettingApplicationInt32TOut<ApplicationSettings>()

but the parameters for this are asking for a OutFunc mole:void and I'm lost as to what to put in there. Any help would be greatly appreciated

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜