开发者

Microsoft Moles Generic Method with output parameter

开发者 https://www.devze.com 2023-03-21 21:55 出处:网络
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)开发者_如何学Cwhere T : ICac

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

精彩评论

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