예제 #1
0
 public ValidateModelAttribute(IErrorCreator errorCreator)
 {
     _errorCreator = errorCreator;
 }
 static ErrorHandlingMiddleware()
 {
     ErrorCreator = new ErrorCreator();
 }
 public PlatformController(IPlatformService platformService, IErrorCreator errorCreator)
 {
     _platformService = platformService;
     _errorCreator    = errorCreator;
 }