public static void Save() { ConfigFileSerializer.Serialize( WalletFilePath, Network.ToString(), CanSpendUnconfirmed.ToString()); Load(); }
/// <summary> /// Method to Serialize the current inner Configuration File /// </summary> public void Serialize() { _definitions.CubeBlocks = ExtractBaseDefinitionsFromContainers().ToArray(); _configFileSerializer.Serialize(_definitions); }
/// <summary> /// Method to Serialize the current inner Configuration File /// </summary> public void Serialize() { m_definitions.CubeBlocks = ExtractBaseDefinitionsFromContainers().ToArray(); m_configFileSerializer.Serialize(m_definitions); m_pendingChanges = false; }