public static OpenCoverSettings NewInstance(this OpenCoverSettings toolSettings) { var newToolSettings = toolSettings.NewInstance <OpenCoverSettings>(); newToolSettings._testAction = toolSettings._testAction; return(newToolSettings); }
public static OpenCoverSettings SetTestAction(this OpenCoverSettings toolSettings, Action testAction) { toolSettings = toolSettings.NewInstance(); toolSettings._testAction = testAction; return(toolSettings); }