Split WoofWare.PawPrint.Domain into a new subtree (#41)

This commit is contained in:
Patrick Stevens
2025-06-04 20:13:16 +01:00
committed by GitHub
parent 15bae6f3aa
commit 19eb7c245d
26 changed files with 62 additions and 30 deletions

View File

@@ -0,0 +1,21 @@
namespace WoofWare.PawPrint
open System.Reflection
open System.Reflection.Metadata
type EventDefn =
{
Name : string
Attrs : EventAttributes
}
[<RequireQualifiedAccess>]
module EventDefn =
let make (mr : MetadataReader) (event : EventDefinition) : EventDefn =
let name = mr.GetString event.Name
{
Name = name
Attrs = event.Attributes
}