This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
mfgames-nitride-cil/src/MfGames.Nitride.Yaml/NitrideYamlModule.cs

17 lines
374 B
C#
Raw Permalink Normal View History

2021-09-07 05:15:45 +00:00
using Autofac;
2022-09-06 05:53:22 +00:00
namespace MfGames.Nitride.Yaml;
public class NitrideYamlModule : Module
2021-09-07 05:15:45 +00:00
{
/// <inheritdoc />
protected override void Load(ContainerBuilder builder)
2021-09-07 05:15:45 +00:00
{
2022-07-09 04:52:10 +00:00
builder.RegisterGeneric(typeof(ParseYamlHeader<>))
.As(typeof(ParseYamlHeader<>));
builder.RegisterOperators(this);
builder.RegisterValidators(this);
2021-09-07 05:15:45 +00:00
}
}