public CG(CBAL cbal, CORTH corth, COMQR comqr, COMQR2 comqr2, CBABK2 cbabk2) { #region Set Dependencies this._cbal = cbal; this._corth = corth; this._comqr = comqr; this._comqr2 = comqr2; this._cbabk2 = cbabk2; #endregion }
public CG() { #region Dependencies (Initialization) CBAL cbal = new CBAL(); PYTHAG pythag = new PYTHAG(); CDIV cdiv = new CDIV(); CBABK2 cbabk2 = new CBABK2(); CORTH corth = new CORTH(pythag); CSROOT csroot = new CSROOT(pythag); COMQR comqr = new COMQR(pythag, csroot, cdiv); COMQR2 comqr2 = new COMQR2(pythag, csroot, cdiv); #endregion #region Set Dependencies this._cbal = cbal; this._corth = corth; this._comqr = comqr; this._comqr2 = comqr2; this._cbabk2 = cbabk2; #endregion }