public ToolStoreDlg(IToolStoreClient toolStoreClient, IList <ToolStoreItem> tools) { _toolStoreClient = toolStoreClient; _tools = tools; InitializeComponent(); Icon = Resources.Skyline; }
static ToolStoreUtil() { ToolStoreClient = CreateClient(); }
public ToolStoreDlg(IToolStoreClient toolStoreClient, IList<ToolStoreItem> tools) { _toolStoreClient = toolStoreClient; _tools = tools; InitializeComponent(); Icon = Resources.Skyline; }
public TestToolUpdateHelper(IToolStoreClient client, Func <string, IUnpackZipToolSupport, ToolInstaller.UnzipToolReturnAccumulator> unpackZipTool) { _client = client; _unpackZipTool = unpackZipTool; }
/// <summary> /// Formats a ToolUpdateHelper for testing. If no unpackZipTool function is specified, it uses the default ToolInstaller one. /// </summary> private static IToolUpdateHelper FormatUpdateHelper(IToolStoreClient client, Func <string, IUnpackZipToolSupport, ToolInstaller.UnzipToolReturnAccumulator> unpackZipTool = null) { return(new TestToolUpdateHelper(client, unpackZipTool ?? ToolInstaller.UnpackZipTool)); }
public TestToolUpdateHelper(IToolStoreClient client, Func<string, IUnpackZipToolSupport, ToolInstaller.UnzipToolReturnAccumulator> unpackZipTool) { _client = client; _unpackZipTool = unpackZipTool; }
/// <summary> /// Formats a ToolUpdateHelper for testing. If no unpackZipTool function is specified, it uses the default ToolInstaller one. /// </summary> private static IToolUpdateHelper FormatUpdateHelper(IToolStoreClient client, Func<string, IUnpackZipToolSupport, ToolInstaller.UnzipToolReturnAccumulator> unpackZipTool = null) { return new TestToolUpdateHelper(client, unpackZipTool ?? ToolInstaller.UnpackZipTool); }