Show / Hide Table of Contents

Class UpdatePrerequisiteList

Preconditions for a update.

Inheritance
Object
List<ResourceRecord>
UpdatePrerequisiteList
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 UpdatePrerequisiteList : List<ResourceRecord>, IList<ResourceRecord>, ICollection<ResourceRecord>, IList, ICollection, IReadOnlyList<ResourceRecord>, IReadOnlyCollection<ResourceRecord>, IEnumerable<ResourceRecord>, IEnumerable
Remarks

The list of ResourceRecord which must be satisfied before an UpdateMessage can proceed.

MustExist and MustNotExist are convenience methods to create the various preconditions.

Methods

| Improve this Doc View Source

MustExist(DomainName)

At least one resource record with the specified name must exist in the Zone.

Declaration
public UpdatePrerequisiteList MustExist(DomainName name)
Parameters
Type Name Description
DomainName name

A resource name.

Returns
Type Description
UpdatePrerequisiteList

The prerequisite list to allow fluent usage.

Remarks

For this prerequisite, a requestor adds to the section a single RR whose NAME is equal to that of the name whose ownership of an RR is required. RDLENGTH is zero and RDATA is therefore empty. CLASS must be specified as ANY to differentiate this condition from that of an actual RR whose RDLENGTH is naturally zero (0) (e.g., NULL). TYPE must be specified as ANY to differentiate this case from that of an RRset existence test. TTL is specified as zero (0).

| Improve this Doc View Source

MustExist(DomainName, DnsType)

At least one resource record with the specified name and type must exist in the Zone.

Declaration
public UpdatePrerequisiteList MustExist(DomainName name, DnsType type)
Parameters
Type Name Description
DomainName name

A resource name.

DnsType type

One of the RR TYPE codes.

Returns
Type Description
UpdatePrerequisiteList

The prerequisite list to allow fluent usage.

Remarks

For this prerequisite, a requestor adds to the section a single RR whose NAME and TYPE are equal to that of the zone RRset whose existence is required. RDLENGTH is zero and RDATA is therefore empty. CLASS must be specified as ANY to differentiate this condition from that of an actual RR whose RDLENGTH is naturally zero (0) (e.g., NULL). TTL is specified as zero(0).

| Improve this Doc View Source

MustExist(ResourceRecord)

A resource record exists with the specified NAME, TYPE and RDATA.

Declaration
public UpdatePrerequisiteList MustExist(ResourceRecord resource)
Parameters
Type Name Description
ResourceRecord resource

A resource record.

Returns
Type Description
UpdatePrerequisiteList

The prerequisite list to allow fluent usage.

Remarks

For this prerequisite, a requestor adds to the section an entire RRset whose preexistence is required. NAME and TYPE are that of the RRset being denoted. CLASS is that of the zone. TTL must be specified as zero (0) and is ignored when comparing RRsets for identity.

| Improve this Doc View Source

MustExist<T>(DomainName)

At least one resource record with the specified name and type must exist in the Zone.

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

A resource name.

Returns
Type Description
UpdatePrerequisiteList

The prerequisite list to allow fluent usage.

Type Parameters
Name Description
T

A derived class of ResourceRecord.

Remarks

For this prerequisite, a requestor adds to the section a single RR whose NAME is equal to that of the name whose ownership of an RR is required. RDLENGTH is zero and RDATA is therefore empty. CLASS must be specified as ANY to differentiate this condition from that of an actual RR whose RDLENGTH is naturally zero (0) (e.g., NULL). TYPE must be specified as ANY to differentiate this case from that of an RRset existence test. TTL is specified as zero (0).

| Improve this Doc View Source

MustNotExist(DomainName)

No resource record with the specified name can exist in the Zone.

Declaration
public UpdatePrerequisiteList MustNotExist(DomainName name)
Parameters
Type Name Description
DomainName name

A resource name.

Returns
Type Description
UpdatePrerequisiteList

The prerequisite list to allow fluent usage.

Remarks

For this prerequisite, a requestor adds to the section a single RR whose NAME is equal to that of the name whose nonownership of any RRs is required. RDLENGTH is zero and RDATA is therefore empty. CLASS must be specified as NONE. TYPE must be specified as ANY. TTL must be specified as zero (0).

| Improve this Doc View Source

MustNotExist(DomainName, DnsType)

No resource record with the specified name and type can exist in the Zone.

Declaration
public UpdatePrerequisiteList MustNotExist(DomainName name, DnsType type)
Parameters
Type Name Description
DomainName name

A resource name.

DnsType type

One of the RR TYPE codes.

Returns
Type Description
UpdatePrerequisiteList

The prerequisite list to allow fluent usage.

Remarks

For this prerequisite, a requestor adds to the section a single RR whose NAME and TYPE are equal to that of the RRset whose nonexistence is required. The RDLENGTH of this record is zero (0), and RDATA field is therefore empty. CLASS must be specified as NONE in order to distinguish this condition from a valid RR whose RDLENGTH is naturally zero (0) (for example, the NULL RR). TTL must be specified as zero(0).

| Improve this Doc View Source

MustNotExist<T>(DomainName)

No resource record with the specified name and type can exist in the Zone.

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

A resource name.

Returns
Type Description
UpdatePrerequisiteList

The prerequisite list to allow fluent usage.

Type Parameters
Name Description
T

A derived class of ResourceRecord.

Remarks

For this prerequisite, a requestor adds to the section a single RR whose NAME and TYPE are equal to that of the RRset whose nonexistence is required. The RDLENGTH of this record is zero (0), and RDATA field is therefore empty. CLASS must be specified as NONE in order to distinguish this condition from a valid RR whose RDLENGTH is naturally zero (0) (for example, the NULL RR). TTL must be specified as zero(0).

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