Fix the conflicts
This commit is contained in:
commit
d1c443f934
|
|
@ -362,21 +362,21 @@ namespace IP2Region
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public async Task<DataBlock> MemorySearchAsync(string ip)
|
public async Task<DataBlock> MemorySearchAsync(string ip)
|
||||||
{
|
{
|
||||||
return await Task.FromResult(MemorySearch(ip));
|
return Task.FromResult(MemorySearch(ip));
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the region throught the ip address with b-tree search algorithm.
|
/// Get the region throught the ip address with b-tree search algorithm.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public async Task<DataBlock> BtreeSearchAsync(string ip)
|
public async Task<DataBlock> BtreeSearchAsync(string ip)
|
||||||
{
|
{
|
||||||
return await Task.FromResult(BtreeSearch(ip));
|
return Task.FromResult(BtreeSearch(ip));
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the region throught the ip address with binary search algorithm.
|
/// Get the region throught the ip address with binary search algorithm.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public async Task<DataBlock> BinarySearchAsync(string ip)
|
public async Task<DataBlock> BinarySearchAsync(string ip)
|
||||||
{
|
{
|
||||||
return await Task.FromResult(BinarySearch(ip));
|
return Task.FromResult(BinarySearch(ip));
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
@ -397,4 +397,4 @@ namespace IP2Region
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue