Class ASNameTree
- Namespace
- ActivityPub.Types.Internal
- Assembly
- ActivityPub.Types.dll
internal static class ASNameTree
- Inheritance
-
ASNameTree
- Inherited Members
Constructors
ASNameTree()
Static constructor to ensure that all AS types have been statically initialized. The CLR will not automatically call static initializers in interfaces. https://stackoverflow.com/questions/5299737/static-constructor-on-a-net-interface-is-not-run https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.runtimehelpers.runclassconstructor?view=net-8.0
private static ASNameTree()
Fields
NameBaseMap
private static readonly Dictionary<string, string> NameBaseMap
Field Value
NameDescendentsMap
private static readonly Dictionary<string, HashSet<string>> NameDescendentsMap
Field Value
Methods
Add(string?, string?)
public static void Add(string? asTypeName, string? baseTypeName)
Parameters
AddRecursive(string?, string)
private static void AddRecursive(string? asTypeName, string descendentTypeName)
Parameters
GetDerivedTypesFor(string?)
public static HashSet<string>? GetDerivedTypesFor(string? asTypeName)
Parameters
asTypeName
string