API_8.Controllers.DemoController.ReplaceSingleService C# (CSharp) 메소드

ReplaceSingleService() 공개 메소드

public ReplaceSingleService ( ) : Type>.Dictionary
리턴 Type>.Dictionary
        public Dictionary<Type, Type> ReplaceSingleService()
        {
            RequestContext.Configuration.Services.Replace(typeof(IExceptionHandler), new MyExceptionHandler());
            return GetAllSingleServices();
        }