This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
mfgames-nitride-cil/src/MfGames.Nitride/Contents/IBinaryContentConvertable.cs

15 lines
365 B
C#

namespace MfGames.Nitride.Contents;
/// <summary>
/// An interface to indicates an object can be converted into a binary
/// content directly.
/// </summary>
public interface IBinaryContentConvertable
{
/// <summary>
/// Convert the given object into a binary content.
/// </summary>
/// <returns></returns>
IBinaryContent ToBinaryContent();
}