Searched refs:beforeReadHooks (Results 1 – 1 of 1) sorted by relevance
126 this.beforeReadHooks = new Dictionary<long, Func<long, T?>>(); in BaseRegisterCollection()164 if(beforeReadHooks.TryGetValue(offset, out var beforeReadHook)) in TryRead()264 if(beforeReadHooks.ContainsKey(offset)) in AddBeforeReadHook()268 beforeReadHooks.Add(offset, hook); in AddBeforeReadHook()329 if(!beforeReadHooks.ContainsKey(offset)) in RemoveBeforeReadHook()333 beforeReadHooks.Remove(offset); in RemoveBeforeReadHook()453 private readonly IDictionary<long, Func<long, T?>> beforeReadHooks; field in Antmicro.Renode.Core.Structure.Registers.BaseRegisterCollection