private void BootstrapPersistence(string baseDir)
{
lock (InitLock)
{
if (_debugPath == null)
{
if (baseDir != null)
{
_rootPath = baseDir;
}
if (_rootPath.EndsWith("\\"))
{
_debugPersistPath = _rootPath + SavePath;
}
else
{
_debugPersistPath = _rootPath + "\\" + SavePath;
}
_debugPath = ActivityIOFactory.CreatePathFromString(_debugPersistPath, "", "","");
_debugOptsEndPoint = ActivityIOFactory.CreateOperationEndPointFromIOPath(_debugPath);
}
}
}