private ClaimTransformLogic ClaimTransformLogicInstance() { var routeBinding = new RouteBinding(); var mockHttpContextAccessor = HttpContextAccessorHelper.MockObject(routeBinding); var telemetryScopedLogger = TelemetryLoggerHelper.ScopedLoggerObject(mockHttpContextAccessor); var claimTransformValidationLogic = new ClaimTransformValidationLogic(mockHttpContextAccessor); return(new ClaimTransformLogic(telemetryScopedLogger, claimTransformValidationLogic, mockHttpContextAccessor)); }
private static ClaimTransformActions MapAction(ClaimTransform ct) { ClaimTransformValidationLogic.HandleObsoleteActions(ct); return(ct.Action); }