Overall; fixed design of IState.cs and IReadOnlyState.cs, and fixed namespaces in Beam.Abstractions to remove all references of Beam.Abstract.

This commit is contained in:
qwsdcvghyu89
2025-09-26 14:21:38 +10:00
parent 67c6a46b09
commit db9bdecea6
20 changed files with 42 additions and 41 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
using Beam.Dynamic;
namespace Beam.Abstractions;
namespace Beam.Abstractions;
public interface IDataBindings {
IDataProvider<string>? Title { get; set; }
+1 -2
View File
@@ -1,7 +1,6 @@
using HtmlAgilityPack;
using System.Text.Json.Serialization;
namespace Beam.Dynamic;
namespace Beam.Abstractions;
public interface IDataProvider {
public string GetString(HtmlDocument document)
+1 -3
View File
@@ -1,6 +1,4 @@
using Beam.Models;
namespace Beam.Abstractions;
namespace Beam.Abstractions;
public interface ILinkBuilder {
/// <summary>
+3 -3
View File
@@ -1,6 +1,6 @@
namespace Beam.Models;
namespace Beam.Abstractions;
public interface IReadOnlyState {
public string[] GetState();
IReadOnlyState Copy();
public ReadOnlySpan<string> GetState();
IState Copy();
}
+5 -4
View File
@@ -1,8 +1,9 @@
using Beam.Models;
namespace Beam.Abstractions;
namespace Beam.Abstractions;
public interface IState : IReadOnlyState {
public interface IState {
string[] GetState();
void SetState(string[] state);
new IState Copy();
IReadOnlyState AsReadOnly();
}
+1 -3
View File
@@ -1,6 +1,4 @@
using Beam.Models;
namespace Beam.Abstractions;
namespace Beam.Abstractions;
/// <summary>
/// Defines how a url template should should be updated, in what order, and by how much