private void TryLoad() { if (Loaded) { return; } _actualObject = new T(); lazyReader.JumpAndReturn(OffsetInFile, () => _actualObject.Read(lazyReader)); lazyReader = null; Loaded = true; }
private void TryLoad() { if (Loaded) { return; } _actualObject = new T(); lazyReader.JumpAndReturn(OffsetInFile, () => _actualObject.Read(lazyReader)); lazyReader = null; Loaded = true; }