Exemplo n.º 1
0
        public ToolStoreDlg(IToolStoreClient toolStoreClient, IList <ToolStoreItem> tools)
        {
            _toolStoreClient = toolStoreClient;
            _tools           = tools;

            InitializeComponent();

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

            InitializeComponent();

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