コード例 #1
0
        /// <summary>
        /// Saves a pixelaria file's contents to its stream or file path
        /// </summary>
        /// <param name="file">A valid PixelariaFile with a stream of valid file path set</param>
        public static void Save(PixelariaFile file)
        {
            PixelariaFileSaver saver = new PixelariaFileSaver(file);

            saver.Save();
        }
コード例 #2
0
 /// <summary>
 /// Saves the given PixelariaFile object to disk
 /// </summary>
 /// <param name="file">The file to save to disk</param>
 public static void SaveFileToDisk(PixelariaFile file)
 {
     PixelariaFileSaver.Save(file);
 }