예제 #1
0
 public static void Serialize(VMSConfiguration config)
 {
     Serialization.Serialization.Serialize(typeof(XMLConfigurationClasses.VMSConfiguration), Constants.atmsConfigDirectory + "VMSConfiguration.xml", config);
 }
예제 #2
0
        public static VMSConfiguration Deserialize()
        {
            VMSConfiguration config = (VMSConfiguration)Serialization.Serialization.Deserialize(typeof(VMSConfiguration), Constants.atmsConfigDirectory + "VMSConfiguration.xml");

            return(config);
        }