|
using System;
using Codebasement.DomainDrivenDesign.Basement.Basement;
namespace Codebasement.DomainDrivenDesign.Basement.Serialization
{
/// <summary>
/// SerializationProvider
/// </summary>
public interface ISerializationProvider
{
/// <summary>
/// Loads the specified file name.
/// </summary>
/// <param name="type">The type.</param>
/// <param name="fileName">Name of the file.</param>
/// <returns></returns>
BasementObject Load(Type type, string fileName);
/// <summary>
/// Saves the specified basement object.
/// </summary>
/// <param name="basementObject">The basement object.</param>
/// <param name="fileName">Name of the file.</param>
void Save(BasementObject basementObject,
string fileName);
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.