public void CoolOff() { foreach (var coord in AllCoordinates) { var contents = Current[coord]; Current[coord] = new MemoryContents { AccessState = MemoryAccessState.Cold, Value = contents.Value, }; } RegionUpdated?.Invoke(this, new AddressRegionEventArgs()); }
public void SetMemoryToDefault() { foreach (var coord in AllCoordinates) { Current[coord] = new MemoryContents { Value = Default[coord] } } ; RegionUpdated?.Invoke(this, new AddressRegionEventArgs()); }