Skip to content

Allows the dispose method of a guard object call a user specified cleanup action at the end of a scope

License

Notifications You must be signed in to change notification settings

Nicologies/ScopeGuard

Repository files navigation

ScopeGuard

Allows the dispose method of a guard object call a user specified cleanup action at the end of a scope

Usage

using(var scopeGuard = new ScopeGuard(() => {CleanUp();}){
  
}

About

Allows the dispose method of a guard object call a user specified cleanup action at the end of a scope

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published