using System; using System.Runtime.InteropServices; namespace System.ComponentModel.Design { /// Provides data for the and events. // Token: 0x02000043 RID: 67 [ComVisible(true)] public class DesignerTransactionCloseEventArgs : EventArgs { /// Initializes a new instance of the class. /// A value indicating whether the transaction was committed. /// true if this is the last transaction to close; otherwise, false. // Token: 0x060002BB RID: 699 RVA: 0x00009828 File Offset: 0x00007A28 public DesignerTransactionCloseEventArgs(bool commit, bool lastTransaction) { this.commit = commit; this.last_transaction = lastTransaction; } /// Initializes a new instance of the class, using the specified value that indicates whether the designer called on the transaction. /// A value indicating whether the transaction was committed. // Token: 0x060002BC RID: 700 RVA: 0x00009840 File Offset: 0x00007A40 [Obsolete("Use another constructor that indicates lastTransaction")] public DesignerTransactionCloseEventArgs(bool commit) { this.commit = commit; } /// Gets a value indicating whether this is the last transaction to close. /// true, if this is the last transaction to close; otherwise, false. // Token: 0x170000CB RID: 203 // (get) Token: 0x060002BD RID: 701 RVA: 0x00009850 File Offset: 0x00007A50 public bool LastTransaction { get { return this.last_transaction; } } /// Indicates whether the designer called on the transaction. /// true if the designer called on the transaction; otherwise, false. // Token: 0x170000CC RID: 204 // (get) Token: 0x060002BE RID: 702 RVA: 0x00009858 File Offset: 0x00007A58 public bool TransactionCommitted { get { return this.commit; } } // Token: 0x040000C7 RID: 199 private bool commit; // Token: 0x040000C8 RID: 200 private bool last_transaction; } }