Skip to content

Instantly share code, notes, and snippets.

View SlashScreen's full-sized avatar
💭
nightmare world

Slashscreen SlashScreen

💭
nightmare world
View GitHub Profile
@atruskie
atruskie / AbstractNodeNodeTypeResolver.cs
Last active May 11, 2023 03:07
Inferring abstract/interface types for YamlDotNet Deserialization
using System;
using System.Collections.Generic;
using System.Linq;
using YamlDotNet.Core;
using YamlDotNet.Core.Events;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NodeDeserializers;
namespace Egret.Cli.Models
{