using System.Collections.Generic; namespace FrostFS.SDK.Client.Models.Netmap.Placement; internal sealed class HasherList : IHasher { private readonly List _nodes; internal HasherList(List nodes) { _nodes = nodes; } internal List Nodes { get { return _nodes; } } public ulong Hash() { return _nodes.Count > 0 ? _nodes[0].Hash() : 0; } }