From fd3d68d527322d150cd9d850440418ac7644c8b3 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Thu, 15 Feb 2024 19:04:06 +0800 Subject: [PATCH] add loadstore back (#3141) --- 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 . ///