// // 创建对象 // public FetcherMgrImpl(RestfulMgr restfulMgr, int retryTime, int retrySleepSeconds, bool enableLocalDownloadDirInClassPath, string localDownloadDir, string localDownloadDirTemp, IList<string> hostList) { this.restfulMgr = restfulMgr; this.retrySleepSeconds = retrySleepSeconds; this.retryTime = retryTime; this.enableLocalDownloadDirInClassPath = enableLocalDownloadDirInClassPath; this.localDownloadDir = localDownloadDir; this.localDownloadDirTemp = localDownloadDirTemp; OsUtil.makeDirs(this.localDownloadDir); this.hostList = hostList; }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @BeforeClass public static void myInit() public static void myInit() { restfulMgr = new RestfulMgrImpl(new RetryStrategyRoundBin()); }