Esempio n. 1
0
        public TacticReplaceStatus ExpandSingleTacticCall(int tacticCallPos, out string expanded)
        {
            expanded = "";
            Tuple <Statement, int, int> us;
            var status = RefactoringUtil.GetTacticCallAtPosition(_member as Method, tacticCallPos, out us);

            return(status == TacticReplaceStatus.Success ? ExpandSingleTacticCall(us.Item1, out expanded) : status);
        }
Esempio n. 2
0
 public TacticReplaceStatus SetTacticCall(int position)
 {
     return(RefactoringUtil.GetTacticCallAtPosition(_member as Method, position, out _tacticCall));
 }