Skip to content

Instantly share code, notes, and snippets.

Peter de Witte peterdew

Block or report user

Report or block peterdew

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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.