protected override bool GetLevelForField(Field key, out byte value) { //Кэшируем хэш код key.GetHashCode(); _lockFieldLevels.EnterReadLock(); try { return(FieldLevels.TryGetValue(key, out value)); } finally { _lockFieldLevels.ExitReadLock(); } }
protected override bool GetLevelForField(Field field, out byte existsStepNumber) { return(FieldLevels.TryGetValue(field, out existsStepNumber)); }