======Класс Transaction====== * **Пространство имен:** [[developers:references:topomatic.foundationclasses.undo|Topomatic.FoundationClasses.Undo]] * **Сборка:** Topomatic.FoundationClasses (в Topomatic.FoundationClasses.dll) =====Иерархия наследования===== * [[developers:references:system.object|System.Object]] * Topomatic.FoundationClasses.Undo.Transaction =====Синтаксис===== public class Transaction : ITransaction, ICollection, IEnumerable, IEnumerable, IStateCommand, ICommand, IDisposable =====Конструкторы===== ^Тип^Имя^Описание^ |{{developers:references:method.png|Конструктор}}|[[developers:references:topomatic.foundationclasses.undo.transaction..ctor|Transaction()]]| | |{{developers:references:method.png|Конструктор}}|[[developers:references:topomatic.foundationclasses.undo.transaction..ctor_system.string|Transaction(String)]]| | |{{developers:references:method.png|Конструктор}}|[[developers:references:topomatic.foundationclasses.undo.transaction..ctor_system.string_topomatic.foundationclasses.undo.itransaction|Transaction(String, ITransaction)]]| | =====Свойства===== ^Тип^Имя^Описание^ |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.foundationclasses.undo.transaction.canundo|CanUndo]]| | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.foundationclasses.undo.transaction.caption|Caption]]| | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.foundationclasses.undo.transaction.count|Count]]| | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.foundationclasses.undo.transaction.isreadonly|IsReadOnly]]| | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.foundationclasses.undo.transaction.item_system.int32|Item[Int32]]]| | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.foundationclasses.undo.transaction.parent|Parent]]| | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.foundationclasses.undo.transaction.tag|Tag]]| | =====Методы===== ^Тип^Имя^Описание^ |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undo.transaction.add_topomatic.foundationclasses.undo.icommand|Add(ICommand)]]| | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undo.transaction.clear|Clear()]]| | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undo.transaction.contains_topomatic.foundationclasses.undo.icommand|Contains(ICommand)]]| | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undo.transaction.copyto_arr_topomatic.foundationclasses.undo.icommand_system.int32|CopyTo(ICommand[], Int32)]]| | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undo.transaction.dispose|Dispose()]]| | |{{developers:references:method.png|Метод}}|[[developers:references:system.object.equals_system.object|Equals(Object)]]| Определяет, равен ли заданный объект текущему объекту. (Наследуется от [[developers:references:system.object|Object]].)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undo.transaction.getallcommands|GetAllCommands()]]| | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undo.transaction.getenumerator|GetEnumerator()]]| | |{{developers:references:method.png|Метод}}|[[developers:references:system.object.gethashcode|GetHashCode()]]| Служит хэш-функцией по умолчанию. (Наследуется от [[developers:references:system.object|Object]].)| |{{developers:references:method.png|Метод}}|[[developers:references:system.object.gettype|GetType()]]| Возвращает объект [[developers:references:system.type|Type]] для текущего экземпляра. (Наследуется от [[developers:references:system.object|Object]].)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undo.transaction.insert_topomatic.foundationclasses.undo.icommand|Insert(ICommand)]]| | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undo.transaction.remove_topomatic.foundationclasses.undo.icommand|Remove(ICommand)]]| | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undo.transaction.tostring|ToString()]]| (Переопределяет [[developers:references:system.object.tostring|Object.ToString()]].)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undo.transaction.undo|Undo()]]| |