常用方法
常用方法
常用方法
常用方法
public async Task <bool> CloneAsync(CloneMode mode) { await SourceRepository.EnsureApiAvailableAsync(_initialPingInterval, _initialPingTries); await DestRepository.EnsureApiAvailableAsync(_initialPingInterval, _initialPingTries); var strategy = _strategyProvider.GetCloneStrategy(mode); return(await strategy.ExecuteAsync()); }