wanshenmean
2026-03-13 0638edbbbb5b6a3aa09f5272ce879b1bf3903dee
分支
用户 wanshenmean <cathay_xy@163.com>
星期五, 三月 13, 2026 12:35 +0800
提交者 wanshenmean <cathay_xy@163.com>
星期五, 三月 13, 2026 12:35 +0800
提交0638edbbbb5b6a3aa09f5272ce879b1bf3903dee
目录 b6ddbd96a20cc755e7b904643542eda1beb7bdb0 目录 | zip | gz
上一版本 eec4c84f34af5b1bf7da4774be13a6d8c27498b6 查看 | 对比
fix: improve memory region code quality

- Add null validation for Write data parameter
- Specify LockRecursionPolicy.SupportsRecursion for virtual methods
- Implement full IDisposable pattern
- Make IMemoryRegion inherit from IDisposable

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
已修改2个文件
33 ■■■■ 文件已修改
Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Interfaces/IMemoryRegion.cs 2 ●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Memory/MemoryRegion.cs 31 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史