Beispiel #1
0
        public ToolStoreDlg(IToolStoreClient toolStoreClient, IList <ToolStoreItem> tools)
        {
            _toolStoreClient = toolStoreClient;
            _tools           = tools;

            InitializeComponent();

            Icon = Resources.Skyline;
        }
Beispiel #2
0
 static ToolStoreUtil()
 {
     ToolStoreClient = CreateClient();
 }
Beispiel #3
0
        public ToolStoreDlg(IToolStoreClient toolStoreClient, IList<ToolStoreItem> tools)
        {
            _toolStoreClient = toolStoreClient;
            _tools = tools;

            InitializeComponent();

            Icon = Resources.Skyline;
        }
Beispiel #4
0
 public TestToolUpdateHelper(IToolStoreClient client, Func <string, IUnpackZipToolSupport, ToolInstaller.UnzipToolReturnAccumulator> unpackZipTool)
 {
     _client        = client;
     _unpackZipTool = unpackZipTool;
 }
Beispiel #5
0
 /// <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));
 }
Beispiel #6
0
 public TestToolUpdateHelper(IToolStoreClient client, Func<string, IUnpackZipToolSupport, ToolInstaller.UnzipToolReturnAccumulator> unpackZipTool)
 {
     _client = client;
     _unpackZipTool = unpackZipTool;
 }
Beispiel #7
0
 /// <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);
 }