Remove FluentResults, documentation

This commit is contained in:
2024-07-28 12:52:17 +02:00
parent 5d6149b18b
commit 10f411f076
25 changed files with 224 additions and 44 deletions

View File

@@ -1,7 +1,13 @@
namespace PkmnLib.Dynamic.ScriptHandling;
/// <summary>
/// A script source is an object that can hold scripts, and from which scripts can be executed.
/// </summary>
public interface IScriptSource
{
/// <summary>
/// Gets an iterator over all scripts that are relevant for this source.
/// </summary>
ScriptIterator GetScripts();
/// <summary>
@@ -25,6 +31,7 @@ public interface IScriptSource
void CollectScripts(List<IEnumerable<ScriptContainer>> scripts);
}
/// <inheritdoc />
public abstract class ScriptSource : IScriptSource
{
/// <inheritdoc />
@@ -47,6 +54,5 @@ public abstract class ScriptSource : IScriptSource
/// <inheritdoc />
public abstract void CollectScripts(List<IEnumerable<ScriptContainer>> scripts);
/// <inheritdoc />
private List<IEnumerable<ScriptContainer>>? _scripts;
}