C# Class NSubstitute.Core.CallCollection.CallWrapper

Wrapper to track that particular entry was deleted. That is needed because concurrent collections don't have a Delete method. We null the hold value to not leak memory.
Show file Open project: nsubstitute/NSubstitute

Public Methods

Method Description
CallWrapper ( ICall call ) : System
Delete ( ) : void

Method Details

CallWrapper() public method

public CallWrapper ( ICall call ) : System
call ICall
return System

Delete() public method

public Delete ( ) : void
return void