[#4] infrastructure and sample Client Cut
Signed-off-by: Pavel Gross <p.gross@yadro.com>
This commit is contained in:
parent
0c4723c705
commit
545e647d7b
22 changed files with 717 additions and 193 deletions
|
@ -13,4 +13,9 @@ public static class ObjectIdMapper
|
|||
Value = ByteString.CopyFrom(objectId.ToHash())
|
||||
};
|
||||
}
|
||||
|
||||
public static ObjectId ToModel(this ObjectID objectId)
|
||||
{
|
||||
return ObjectId.FromHash(objectId.Value.ToByteArray());
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue