Skip to content

Instantly share code, notes, and snippets.

Peter de Witte peterdew

View GitHub Profile
@peterdew
peterdew / StandadDisposePattern.txt
Last active Apr 3, 2019
standad dispose pattern
View StandadDisposePattern.txt
~ProjectRepository()
{
Dispose(false);
}
public bool IsDisposed { get; private set; }
public void Dispose()
{
Dispose(true);
You can’t perform that action at this time.