mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 06:45:11 +00:00
Add IWritable interface
This commit is contained in:
16
SabreTools.Wrappers/IWritable.cs
Normal file
16
SabreTools.Wrappers/IWritable.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace SabreTools.Wrappers
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents an item that can have its model written directly
|
||||
/// </summary>
|
||||
public interface IWritable
|
||||
{
|
||||
/// <summary>
|
||||
/// Write to an output directory
|
||||
/// </summary>
|
||||
/// <param name="outputDirectory">Output directory to write to</param>
|
||||
/// <param name="includeDebug">True to include debug data, false otherwise</param>
|
||||
/// <returns>True if writing succeeded, false otherwise</returns>
|
||||
public bool Write(string outputDirectory, bool includeDebug);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user