[#28] Client: Move CalculateObjectId from IFrostFsClient to statis tools
Signed-off-by: Pavel Gross <p.gross@yadro.com>
This commit is contained in:
parent
543247e4d9
commit
db9b93b2e6
4 changed files with 23 additions and 20 deletions
|
@ -290,14 +290,6 @@ public class FrostFSClient : IFrostFSClient
|
|||
{
|
||||
return GetObjectService().SearchObjectsAsync(args, ctx);
|
||||
}
|
||||
|
||||
public FrostFsObjectId CalculateObjectId(FrostFsObjectHeader header)
|
||||
{
|
||||
if (header == null)
|
||||
throw new ArgumentNullException(nameof(header));
|
||||
|
||||
return ObjectTools.CalculateObjectId(header, ClientCtx.Owner, ClientCtx.Version, ClientCtx.Key);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Session Implementation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue