add save method
This commit is contained in:
parent
b513cb6a1d
commit
ce7d1fe4b0
2 changed files with 11 additions and 4 deletions
|
@ -81,5 +81,12 @@ namespace Bot
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
public void Save()
|
||||
{
|
||||
SerialManager sm = new SerialManager();
|
||||
sm.Write<MainConfiguration>("Main", this);
|
||||
sm = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue