Skip to content
Snippets Groups Projects
Verified Commit 169f8a18 authored by Mateusz Brawański's avatar Mateusz Brawański
Browse files

Made the entity convertible interface public.

parent 783282a7
No related branches found
No related tags found
No related merge requests found
Pipeline #4461 passed
......@@ -20,7 +20,7 @@
<Description>Library containing the code to create, load, and validate test scenarios.</Description>
<Authors>Mateusz Brawański &lt;Emzi0767&gt;</Authors>
<VersionPrefix>1.4.0</VersionPrefix>
<VersionPrefix>1.4.1</VersionPrefix>
<AssemblyVersion>$(Version).0</AssemblyVersion>
<FileVersion>$(AssemblyVersion)</FileVersion>
<ProductVersion>$(AssemblyVersion)</ProductVersion>
......
......@@ -4,8 +4,16 @@
namespace Emzi0767.DbResearch.ScenarioLib.Entities;
internal interface IEntityConvertible<out T>
/// <summary>
/// Represents an entity that is convertible to an XML entity.
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IEntityConvertible<out T>
where T : class
{
/// <summary>
/// Converts to XML entity.
/// </summary>
/// <returns>Converted XML entity.</returns>
T ToEntity();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment