Do you know where it is in the video? Are they not talking about something like this?
public bool IsOpen{get; private set;}
public void Open(){
try{
// do some complex work
this.IsOpen = true;
}
catch{
this.IsOpen = false;
}
}
public void Close(){
// do some other work
this.IsOpen = false;
}