public AccountInfo GetAccountInfo(AccountInfo previous = null) { if (previous != null) { previous.RewriteCredential(this._credentialCore); return previous; } else { return AccountInfo.FromCredential(this._credentialCore); } }