Show / Hide Table of Contents

Class UpdateResourceList

Resource records to add or delete from the zone.

Inheritance
Object
List<ResourceRecord>
UpdateResourceList
Implements
IList<ResourceRecord>
ICollection<ResourceRecord>
IList
ICollection
IReadOnlyList<ResourceRecord>
IReadOnlyCollection<ResourceRecord>
IEnumerable<ResourceRecord>
IEnumerable
Inherited Members
System.Collections.Generic.List<Makaretu.Dns.ResourceRecord>.System.Collections.IList.get_Item(System.Int32)
System.Collections.Generic.List<Makaretu.Dns.ResourceRecord>.System.Collections.IList.set_Item(System.Int32, System.Object)
List<ResourceRecord>.Add(ResourceRecord)
List<ResourceRecord>.IList.Add(Object)
List<ResourceRecord>.AddRange(IEnumerable<ResourceRecord>)
List<ResourceRecord>.AsReadOnly()
List<ResourceRecord>.BinarySearch(Int32, Int32, ResourceRecord, IComparer<ResourceRecord>)
List<ResourceRecord>.BinarySearch(ResourceRecord)
List<ResourceRecord>.BinarySearch(ResourceRecord, IComparer<ResourceRecord>)
List<ResourceRecord>.Clear()
List<ResourceRecord>.Contains(ResourceRecord)
List<ResourceRecord>.IList.Contains(Object)
List<ResourceRecord>.ConvertAll<TOutput>(Converter<ResourceRecord, TOutput>)
List<ResourceRecord>.CopyTo(ResourceRecord[])
List<ResourceRecord>.ICollection.CopyTo(Array, Int32)
List<ResourceRecord>.CopyTo(Int32, ResourceRecord[], Int32, Int32)
List<ResourceRecord>.CopyTo(ResourceRecord[], Int32)
List<ResourceRecord>.Exists(Predicate<ResourceRecord>)
List<ResourceRecord>.Find(Predicate<ResourceRecord>)
List<ResourceRecord>.FindAll(Predicate<ResourceRecord>)
List<ResourceRecord>.FindIndex(Predicate<ResourceRecord>)
List<ResourceRecord>.FindIndex(Int32, Predicate<ResourceRecord>)
List<ResourceRecord>.FindIndex(Int32, Int32, Predicate<ResourceRecord>)
List<ResourceRecord>.FindLast(Predicate<ResourceRecord>)
List<ResourceRecord>.FindLastIndex(Predicate<ResourceRecord>)
List<ResourceRecord>.FindLastIndex(Int32, Predicate<ResourceRecord>)
List<ResourceRecord>.FindLastIndex(Int32, Int32, Predicate<ResourceRecord>)
List<ResourceRecord>.ForEach(Action<ResourceRecord>)
List<ResourceRecord>.GetEnumerator()
List<ResourceRecord>.IEnumerable<ResourceRecord>.GetEnumerator()
List<ResourceRecord>.IEnumerable.GetEnumerator()
List<ResourceRecord>.GetRange(Int32, Int32)
List<ResourceRecord>.IndexOf(ResourceRecord)
List<ResourceRecord>.IList.IndexOf(Object)
List<ResourceRecord>.IndexOf(ResourceRecord, Int32)
List<ResourceRecord>.IndexOf(ResourceRecord, Int32, Int32)
List<ResourceRecord>.Insert(Int32, ResourceRecord)
List<ResourceRecord>.IList.Insert(Int32, Object)
List<ResourceRecord>.InsertRange(Int32, IEnumerable<ResourceRecord>)
List<ResourceRecord>.LastIndexOf(ResourceRecord)
List<ResourceRecord>.LastIndexOf(ResourceRecord, Int32)
List<ResourceRecord>.LastIndexOf(ResourceRecord, Int32, Int32)
List<ResourceRecord>.Remove(ResourceRecord)
List<ResourceRecord>.IList.Remove(Object)
List<ResourceRecord>.RemoveAll(Predicate<ResourceRecord>)
List<ResourceRecord>.RemoveAt(Int32)
List<ResourceRecord>.RemoveRange(Int32, Int32)
List<ResourceRecord>.Reverse()
List<ResourceRecord>.Reverse(Int32, Int32)
List<ResourceRecord>.Sort()
List<ResourceRecord>.Sort(IComparer<ResourceRecord>)
List<ResourceRecord>.Sort(Int32, Int32, IComparer<ResourceRecord>)
List<ResourceRecord>.Sort(Comparison<ResourceRecord>)
List<ResourceRecord>.ToArray()
List<ResourceRecord>.TrimExcess()
List<ResourceRecord>.TrueForAll(Predicate<ResourceRecord>)
List<ResourceRecord>.Capacity
List<ResourceRecord>.Count
List<ResourceRecord>.IList.IsFixedSize
List<ResourceRecord>.ICollection<ResourceRecord>.IsReadOnly
List<ResourceRecord>.IList.IsReadOnly
List<ResourceRecord>.ICollection.IsSynchronized
List<ResourceRecord>.ICollection.SyncRoot
List<ResourceRecord>.Item[Int32]
List<ResourceRecord>.IList.Item[Int32]
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 class UpdateResourceList : List<ResourceRecord>, IList<ResourceRecord>, ICollection<ResourceRecord>, IList, ICollection, IReadOnlyList<ResourceRecord>, IReadOnlyCollection<ResourceRecord>, IEnumerable<ResourceRecord>, IEnumerable
Remarks

The list of ResourceRecord which are adde or deleted from the Zone.

AddResource and DeleteResource are convenience methods to specify the update operations.

Methods

| Improve this Doc View Source

AddResource(ResourceRecord)

Add the resource to the zone.

Declaration
public UpdateResourceList AddResource(ResourceRecord resource)
Parameters
Type Name Description
ResourceRecord resource

The ResourceRecord to add to the zone.

Returns
Type Description
UpdateResourceList

The update resource list to allow fluent usage.

Remarks

Equivalent to Add(T).

A duplicate ResourceRecord will be silently ignored by the primary master.

| Improve this Doc View Source

DeleteResource(DomainName)

Delete the resource records with the specifified name.

Declaration
public UpdateResourceList DeleteResource(DomainName name)
Parameters
Type Name Description
DomainName name

A resource name.

Returns
Type Description
UpdateResourceList

The update resource list to allow fluent usage.

Remarks

TYPE must be specified as ANY. TTL must be specified as zero(0) and is otherwise not used by the primary master. CLASS must be specified as ANY. RDLENGTH must be zero(0) and RDATA must therefore be empty.

If no such RRsets exist, then this Update RR will be silently ignored by the primary master.

| Improve this Doc View Source

DeleteResource(DomainName, DnsType)

Delete the resource records with the specifified name and type.

Declaration
public UpdateResourceList DeleteResource(DomainName name, DnsType type)
Parameters
Type Name Description
DomainName name

A resource name.

DnsType type

One of the RR TYPE codes.

Returns
Type Description
UpdateResourceList

The update resource list to allow fluent usage.

Remarks

TTL must be specified as zero(0) and is otherwise not used by the primary master. CLASS must be specified as ANY. RDLENGTH must be zero(0) and RDATA must therefore be empty.

If no such RRsets exist, then this Update RR will be silently ignored by the primary master.

See Also
DeleteResource<T>(DomainName)
| Improve this Doc View Source

DeleteResource(ResourceRecord)

Delete the resource record from the zone.

Declaration
public UpdateResourceList DeleteResource(ResourceRecord resource)
Parameters
Type Name Description
ResourceRecord resource

The ResourceRecord to delete from the zone.

Returns
Type Description
UpdateResourceList

The update resource list to allow fluent usage.

Remarks

The NAME, TYPE, RDLENGTH and RDATA must match the RR being deleted. TTL must be specified as zero(0) and will otherwise be ignored by the primary master. CLASS must be specified as NONE to distinguish this from an RR addition.

If no such RRsets exist, then this Update RR will be silently ignored by the primary master.

| Improve this Doc View Source

DeleteResource<T>(DomainName)

Delete the resource records with the specifified name and type.

Declaration
public UpdateResourceList DeleteResource<T>(DomainName name)
    where T : ResourceRecord, new()
Parameters
Type Name Description
DomainName name

A resource name.

Returns
Type Description
UpdateResourceList

The update resource list to allow fluent usage.

Type Parameters
Name Description
T

A derived class of ResourceRecord.

Remarks

TTL must be specified as zero(0) and is otherwise not used by the primary master. CLASS must be specified as ANY. RDLENGTH must be zero(0) and RDATA must therefore be empty.

If no such RRsets exist, then this Update RR will be silently ignored by the primary master.

See Also
DeleteResource(DomainName, DnsType)

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

See Also

https://tools.ietf.org/html/rfc2136
  • Improve this Doc
  • View Source
Back to top Generated by DocFX