Added better commenting to FileSystem.cs

This commit is contained in:
Scionwest_cp 2009-11-07 11:15:35 -08:00
parent 2822170a1c
commit a8bfa1b38e

View file

@ -21,6 +21,11 @@ namespace MUDEngine.FileSystem
set; set;
} }
/// <summary>
/// Saves the object using the specified output format
/// </summary>
/// <param name="Filename"></param>
/// <param name="o"></param>
public static void Save(string Filename, object o) public static void Save(string Filename, object o)
{ {
if (FileType == OutputFormats.XML) if (FileType == OutputFormats.XML)
@ -29,6 +34,12 @@ namespace MUDEngine.FileSystem
} }
} }
/// <summary>
/// Loads the object using the specified FileType format
/// </summary>
/// <param name="Filename"></param>
/// <param name="o"></param>
/// <returns></returns>
public static object Load(string Filename, object o) public static object Load(string Filename, object o)
{ {
if (FileType == OutputFormats.XML) if (FileType == OutputFormats.XML)