StoryTeller.Execution.TestRunnerProxy.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
        public void Dispose()
        {
            try
            {
                // TODO -- need to figure about exceptions here
                if (_runner != null) _runner.Dispose();
            }
            catch (Exception)
            {
            }
        }

Usage Example

コード例 #1
0
ファイル: TestRunnerDomain.cs プロジェクト: larsw/storyteller
        public void Teardown()
        {
            try
            {
                if (_proxy != null)
                {
                    _proxy.Dispose();
                }
            }
            catch (Exception)
            {
            }

            _proxy = null;
            if (_domain != null)
            {
                AppDomain.Unload(_domain);
                _domain = null;
            }
        }