public OcLayerConfiguration(IOcDataMapper dataMapper) { if (dataMapper == null) { throw new ArgumentNullException(nameof(dataMapper)); } DataMapper = dataMapper; }
public OcLayerConfiguration(IOcAuthorizationService <TRequest> authorizationService, IOcDataMapper dataMapper) { if (dataMapper == null) { throw new ArgumentNullException(nameof(dataMapper)); } DataMapper = dataMapper; if (authorizationService == null) { throw new ArgumentNullException(nameof(authorizationService)); } AuthorizationService = authorizationService; }
public MyLayerConfiguration(IOcAuthorizationService <IMyRequest> authorizationService, IOcDataMapper dataMapper) : base(authorizationService, dataMapper) { }