From dd61423c6da2f7d7990c3f673fa9a3c254d551b5 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Thu, 15 Feb 2024 16:50:16 +0800 Subject: [PATCH] add loadstore back --- src/Neo/NeoSystem.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Neo/NeoSystem.cs b/src/Neo/NeoSystem.cs index 77b982f0d4..25a3d60062 100644 --- a/src/Neo/NeoSystem.cs +++ b/src/Neo/NeoSystem.cs @@ -218,6 +218,16 @@ public void EnsureStopped(IActorRef actor) inbox.Receive(TimeSpan.FromMinutes(5)); } + /// + /// Loads an at the specified path. + /// + /// The path of the storage. + /// The loaded . + public IStore LoadStore(string path) + { + return StoreFactory.GetStore(store.GetType().Name, path); + } + /// /// Resumes the startup process of . ///