コード例 #1
0
ファイル: TestFramework.cs プロジェクト: seesharper/xunit-1
        /// <inheritdoc/>
        public async void Dispose()
        {
            // We want to immediately return before we call DisconnectAll, since we are in the list
            // of things that will be disconnected.
            await Task.Delay(1);

            ExtensibilityPointFactory.Dispose();
            DisposalTracker.Dispose();

            LongLivedMarshalByRefObject.DisconnectAll();
        }
コード例 #2
0
 /// <inheritdoc/>
 public void Dispose()
 {
     DisposalTracker.Dispose();
 }
コード例 #3
0
 /// <summary>
 /// Disposes the instances that are contained in the cache.
 /// </summary>
 public static void Dispose()
 {
     instances.Clear();
     disposalTracker.Dispose();
 }