mirror of
https://github.com/Smaug123/WoofWare.PawPrint
synced 2025-10-06 14:38:40 +00:00
22 lines
416 B
Forth
22 lines
416 B
Forth
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
|
|
}
|