public ResourceOwnerActions( IGetResourceOwnerAction getResourceOwnerAction, IGetResourceOwnersAction getResourceOwnersAction, IUpdateResourceOwnerClaimsAction updateResourceOwnerClaimsAction, IUpdateResourceOwnerPasswordAction updateResourceOwnerPasswordAction, IDeleteResourceOwnerAction deleteResourceOwnerAction, IAddUserOperation addUserOperation, ISearchResourceOwnersAction searchResourceOwnersAction, IUpdateResourceOwnerClaimsParameterValidator updateResourceOwnerClaimsParameterValidator, IUpdateResourceOwnerPasswordParameterValidator updateResourceOwnerPasswordParameterValidator, IAddUserParameterValidator addUserParameterValidator, IManagerEventSource managerEventSource) { _getResourceOwnerAction = getResourceOwnerAction; _getResourceOwnersAction = getResourceOwnersAction; _updateResourceOwnerClaimsAction = updateResourceOwnerClaimsAction; _updateResourceOwnerPasswordAction = updateResourceOwnerPasswordAction; _deleteResourceOwnerAction = deleteResourceOwnerAction; _addUserOperation = addUserOperation; _searchResourceOwnersAction = searchResourceOwnersAction; _updateResourceOwnerClaimsParameterValidator = updateResourceOwnerClaimsParameterValidator; _updateResourceOwnerPasswordParameterValidator = updateResourceOwnerPasswordParameterValidator; _addUserParameterValidator = addUserParameterValidator; _managerEventSource = managerEventSource; }
public ResourceOwnerActions( IGetResourceOwnerAction getResourceOwnerAction, IGetResourceOwnersAction getResourceOwnersAction, IUpdateResourceOwnerAction updateResourceOwnerAction, IDeleteResourceOwnerAction deleteResourceOwnerAction, IAddResourceOwnerAction addResourceOwnerAction) { _getResourceOwnerAction = getResourceOwnerAction; _getResourceOwnersAction = getResourceOwnersAction; _updateResourceOwnerAction = updateResourceOwnerAction; _deleteResourceOwnerAction = deleteResourceOwnerAction; _addResourceOwnerAction = addResourceOwnerAction; }
private void InitializeFakeObjects() { _resourceOwnerRepositoryStub = new Mock <IResourceOwnerRepository>(); _getResourceOwnerAction = new GetResourceOwnerAction( _resourceOwnerRepositoryStub.Object); }