/[RomCheater]/trunk/RomCheater/Serialization/SerializationReader.cs
ViewVC logotype

Diff of /trunk/RomCheater/Serialization/SerializationReader.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater/Serialization/SerializationReader.cs	2013/06/02 20:22:04	448
+++ trunk/RomCheater/Serialization/SerializationReader.cs	2013/06/02 20:38:58	450
@@ -8,29 +8,29 @@
 {
     public abstract class SerializationReader : ISerializationResultCount, IDisposable
     {
- private string CreateFilename(Guid guid)
+        private void CreateFilename(Guid guid)
         {
             if (guid == Guid.Empty)
             {
                 if (this.TemporaryFolder != string.Empty)
                 {
-                    return string.Format(@"{0}\{1}\{2}", DEFAULT_FOLDER, TemporaryFolder, DEFAULT_FILENAME);
+                    FileName = string.Format(@"{0}\{1}\{2}", DEFAULT_FOLDER, TemporaryFolder, DEFAULT_FILENAME);
                 }
                 else
                 {
-                    return string.Format(@"{0}\{1}", DEFAULT_FOLDER, DEFAULT_FILENAME);
+                    FileName = string.Format(@"{0}\{1}", DEFAULT_FOLDER, DEFAULT_FILENAME);
                 }
-                
+
             }
             else
             {
                 if (this.TemporaryFolder != string.Empty)
                 {
-                    return string.Format(@"{0}\{1}\{2}", DEFAULT_FOLDER, TemporaryFolder, string.Format("{0}.tmp", guid.ToString()));
+                    FileName = string.Format(@"{0}\{1}\{2}", DEFAULT_FOLDER, TemporaryFolder, string.Format("{0}.tmp", guid.ToString()));
                 }
                 else
                 {
-                    return string.Format(@"{0}\{1}", DEFAULT_FOLDER, string.Format("{0}.tmp", guid.ToString()));
+                    FileName = string.Format(@"{0}\{1}", DEFAULT_FOLDER, string.Format("{0}.tmp", guid.ToString()));
                 }
             }
         }

 

  ViewVC Help
Powered by ViewVC 1.1.22