public VaultProfileController(IComposerContext composerContext, IVaultProfileViewService vaultProfileViewService, IImageViewService imageViewService) { ComposerContext = composerContext ?? throw new ArgumentNullException(nameof(composerContext)); VaultProfileViewService = vaultProfileViewService ?? throw new ArgumentNullException(nameof(vaultProfileViewService)); ImageViewService = imageViewService ?? throw new ArgumentNullException(nameof(imageViewService)); }
public VaultProfileController(IComposerContext composerContext, IVaultProfileViewService vaultProfileViewService, IImageViewService imageViewService) { if (composerContext == null) { throw new ArgumentNullException("composerContext"); } if (vaultProfileViewService == null) { throw new ArgumentNullException("vaultProfileViewService"); } if (imageViewService == null) { throw new ArgumentNullException("imageViewService"); } ComposerContext = composerContext; VaultProfileViewService = vaultProfileViewService; ImageViewService = imageViewService; }