BaconographyPortable.ViewModel.ReplyViewModel.AddLinkImpl C# (CSharp) Method

AddLinkImpl() private method

private AddLinkImpl ( ) : void
return void
        private void AddLinkImpl()
        {
            var surroundedTextTpl = SurroundSelection(SelectionStart, SelectionStart + SelectionLength, ReplyBody, _linkFormattingString);
            ReplyBody = surroundedTextTpl.Item3;
            SelectionStart = surroundedTextTpl.Item1;
            SelectionLength = surroundedTextTpl.Item2 - surroundedTextTpl.Item1;
        }