/// <summary> /// Insert the chunk into the asset. /// </summary> public override void Do() { if (m_boolTime == true) { m_Asset.InsertAsset(m_AssetChunk, m_dInsertionTime); } else { m_Asset.InsertAsset(m_AssetChunk, m_lInsertionPosition); } }
/// <summary> /// Get the deleted data back into the asset. /// </summary> public override void Undo() { if (m_boolTime == true) { m_Asset.InsertAsset(m_NewAsset, m_dBeginTime); } else { m_Asset.InsertAsset(m_NewAsset, m_lBeginPosition); } }