// Protected implementation of Dispose pattern. protected virtual void Dispose(bool disposing) { if (disposed) { return; } if (disposing) { // Free any other managed objects here. factory = null; } // Free any unmanaged objects here. // disposed = true; }
public AvaliacaoRepository() { factory = new AvaliacaoFactory(); }