BitSharper.Store.MemoryBlockStore.Get C# (CSharp) Method

Get() public method

public Get ( Sha256Hash hash ) : StoredBlock
hash Sha256Hash
return StoredBlock
        public StoredBlock Get(Sha256Hash hash)
        {
            lock (this)
            {
                StoredBlock block;
                _blockMap.TryGetValue(hash, out block);
                return block;
            }
        }