Full removal of SourceGen Meditor. Will revisit in good time.

This commit is contained in:
Daniel Clark
2022-12-17 20:27:52 +00:00
parent 0017aab4b7
commit 369e359622
49 changed files with 134 additions and 108 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
using Mediator;
namespace Toolkit.Framework.Foundation;
namespace Toolkit.Framework.Foundation;
public record Content : IRequest<object?>
{
@@ -14,7 +14,7 @@ public class NamedContentFactory : INamedContentFactory
this.serviceFactory = serviceFactory;
}
public virtual object? Create(string name, params object[] parameters)
public virtual object? Create(string name, params object?[] parameters)
{
if (cache.TryGetValue(name, out object? data))
{
@@ -14,7 +14,7 @@ public class TypedContentFactory : ITypedContentFactory
this.serviceFactory = serviceFactory;
}
public virtual object? Create(Type type, params object[] parameters)
public object? Create(Type type, params object?[] parameters)
{
if (cache.TryGetValue(type, out object? data))
{