Example #1
0
		/// <summary>
		///   Creates a new instance of the DeleteRecordUpdate class
		/// </summary>
		/// <param name="record"> Record that should be deleted </param>
		public DeleteRecordUpdate(DnsRecordBase record)
			: base(record.Name, record.RecordType, RecordClass.None, 0)
		{
			Record = record;
		}
Example #2
0
		/// <summary>
		///   Creates a new instance of the RecordExistsPrequisite class
		/// </summary>
		/// <param name="record"> tecord that should be checked </param>
		public RecordExistsPrequisite(DnsRecordBase record)
			: base(record.Name, record.RecordType, record.RecordClass, 0)
		{
			Record = record;
		}
Example #3
0
 /// <summary>
 ///   Creates a new instance of the AddRecordUpdate
 /// </summary>
 /// <param name="record"> Record which should be added </param>
 public AddRecordUpdate(DnsRecordBase record)
     : base(record.Name, record.RecordType, record.RecordClass, record.TimeToLive)
 {
     Record = record;
 }