public DisposeAction ( System.Action action ) : System | ||
action | System.Action | Action to be executed when this object is disposed. |
return | System |
public DisposeAction(Action action)
{
if (action == null)
{
throw new ArgumentNullException("action");
}
_action = action;
}