private static string GetChecksumKey(SourceHashAlgorithm algorithm) { switch (algorithm) { case SourceHashAlgorithm.Sha1: return(IndexingUtilities.GetChecksumKey(ChecksumAlgorithm.Sha1)); case SourceHashAlgorithm.Sha256: return(IndexingUtilities.GetChecksumKey(ChecksumAlgorithm.Sha256)); default: return(null); } }
public static SymbolId CreateFromId(string id) { // return new SymbolId(id); return(new SymbolId(IndexingUtilities.ComputeSymbolUid(id))); }