From 98c9980726ce0ea96fee8ab2dee9f9b3201edd23 Mon Sep 17 00:00:00 2001 From: UPIMMUNITY Date: Thu, 7 Dec 2023 22:33:46 +0800 Subject: [PATCH] regular --- .../Csharp Design Patterns/docs/Structural/1.Adapter.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/document/Csharp Design Patterns/docs/Structural/1.Adapter.md b/docs/document/Csharp Design Patterns/docs/Structural/1.Adapter.md index ba9e24c7..29f92adc 100644 --- a/docs/document/Csharp Design Patterns/docs/Structural/1.Adapter.md +++ b/docs/document/Csharp Design Patterns/docs/Structural/1.Adapter.md @@ -116,12 +116,12 @@ VectorObjectAdapter vecAdapter = new(vec); Geometry.Draw(vecAdapter); ``` -![first-run](../pics/adapter-caching-first-run.png "first-run") + However if you draw it twice, problem comes. If you want to draw a geometry in a diagram, it should be drew only once, or it may cause a bunch of memory issues and looks bad when displayed. -![second-run](../pics/adapter-caching-second-run.png) + ### Solution - Apply Caching