Sep.Git.Tfs.Commands.Labels.UpdateRemote C# (CSharp) Method

UpdateRemote() private method

private UpdateRemote ( IGitTfsRemote tfsRemote ) : void
tfsRemote IGitTfsRemote
return void
        private void UpdateRemote(IGitTfsRemote tfsRemote)
        {
            if (!string.IsNullOrWhiteSpace(TfsUsername))
            {
                tfsRemote.TfsUsername = TfsUsername;
                tfsRemote.TfsPassword = TfsPassword;
            }
        }