[ElmSharp] Adds PeekInstance to PreloadedWindow (#1588)
authorKangho Hur <rookiejava@gmail.com>
Thu, 7 May 2020 01:30:57 +0000 (10:30 +0900)
committerGitHub <noreply@github.com>
Thu, 7 May 2020 01:30:57 +0000 (10:30 +0900)
src/ElmSharp/ElmSharp/PreloadedWindow.cs

index 8890506..1975528 100644 (file)
@@ -117,5 +117,10 @@ namespace ElmSharp
             s_precreated = null;
             return instance;
         }
+
+        public static PreloadedWindow PeekInstance()
+        {
+            return s_precreated;
+        }
     }
 }