Show / Hide Table of Contents

Class EdnsOptionRegistry

Metadata on EDNS options.

Inheritance
Object
EdnsOptionRegistry
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Makaretu.Dns
Assembly: Makaretu.Dns.dll
Syntax
public static class EdnsOptionRegistry

Fields

| Improve this Doc View Source

Options

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 Source

Register<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.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX