mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
mRemoteNG import doesnt need to be static
This commit is contained in:
@@ -27,9 +27,7 @@ namespace mRemoteNG.Config.Import
|
||||
Runtime.MessageCollector.AddMessage(MessageClass.ErrorMsg, $"Unable to import file. File does not exist. Path: {filePathAsString}");
|
||||
}
|
||||
|
||||
|
||||
|
||||
public static void Import(string fileName, ContainerInfo destinationContainer)
|
||||
public void Import(string fileName, ContainerInfo destinationContainer)
|
||||
{
|
||||
var dataProvider = new FileDataProvider(fileName);
|
||||
var xmlString = dataProvider.Load();
|
||||
|
||||
Reference in New Issue
Block a user