Class EdnsOptionRegistry
Metadata on EDNS options.
Inherited Members
Namespace: Makaretu.Dns
Assembly: Makaretu.Dns.dll
Syntax
public static class EdnsOptionRegistry
Fields
| Improve this Doc View SourceOptions
All the EDNS options.
Declaration
public static Dictionary<EdnsOptionType, Func<EdnsOption>> Options
Field Value
Type | Description |
---|---|
Dictionary<EdnsOptionType, Func<EdnsOption>> |
Remarks
The key is the EdnsOptionType. The value is a function that returns a new EdnsOption.
Methods
| Improve this Doc View SourceRegister<T>()
Register a new EDNS option.
Declaration
public static void Register<T>()
where T : EdnsOption, new()
Type Parameters
Name | Description |
---|---|
T | A type that is derived from EdnsOption. |