Added better commenting to FileSystem.cs
This commit is contained in:
parent
2822170a1c
commit
a8bfa1b38e
1 changed files with 11 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue