ChinhDo.Transactions.TxFileManager.TxEnlistment.Snapshot C# (CSharp) Метод

Snapshot() публичный Метод

Take a snapshot of the specified file. The snapshot is used to rollback the file later if needed.
public Snapshot ( string fileName ) : void
fileName string The file to take a snapshot for.
Результат void
			public void Snapshot(string fileName)
			{
				if (_tx != null)
				{
					_journal.Add(new RollbackFile(fileName));
					Enlist();
				}
			}