BitSharper.Store.MemoryBlockStore.Get C# (CSharp) 메소드

Get() 공개 메소드

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