Full removal of SourceGen Meditor. Will revisit in good time.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user