/// <summary> /// Initiates a Try/Catch/Finally operation. /// </summary> public FluentTryBuilder <TThis> Try() { _CheckModifiable(); var result = new FluentTryBuilder <TThis>(_this, _method); _statements.Add(result); return(result); }
internal FluentCatchBuilder(FluentTryBuilder <TParentBuilder> tryBuilder, Expression catchVariable) : base(tryBuilder._parent, tryBuilder._method) { _tryBuilder = tryBuilder; _catchVariable = catchVariable; }