2017-10-13 3 views
0

특정 방법을 VS2017 코드 적용 분석에서 제외 할 수 있습니까?VS 2017 코드 범위 : 분석에서 방법 제외

public class TimeFactory : ITimeFactory 
{ 
    /// <summary> 
    /// Create a time object -> allows us to simulate time jumps in unit-tests. 
    /// </summary> 
    /// <returns></returns> 
    public IXTimer CreateXTimerObject() => new XTimer(); 
} 

감사 :

나는 이와 같은 간단한 게터/세터 또는 (글루 코드처럼 행동) 간단한 공장을 제외 할.

답변