protected RestartCache ( bool doCommit ) : void | ||
doCommit | bool | 'True' to end the task and commit the changes. 'False' to skip the commit. |
Résultat | void |
protected virtual void RestartCache(bool doCommit)
{
if (doCommit)
{
m_cache.DomainDataByFlid.EndNonUndoableTask();
m_cache.ServiceLocator.GetInstance<IUndoStackManager>().Save();
}
m_internalRestart = true;
try
{
FixtureTeardown();
FixtureSetup();
}
finally
{
m_internalRestart = false;
}
}