コード例 #1
0
        public virtual async Task InitializeAsync()
        {
            if (_initialized)
            {
                return;
            }

            using (await Mutex.LockAsync())
            {
                if (_initialized)
                {
                    return;
                }

                await SliceFixture.ResetCheckpoint();

                _initialized = true;
            }
        }
コード例 #2
0
 public Task DisposeAsync()
 {
     return(SliceFixture.ResetCheckpoint());
 }