public AntiforgeryService(AntiforgeryStorage antiforgeryStorage, AddressStorage addressStorage, IUnityContainer container) { if (antiforgeryStorage == null || addressStorage == null || container == null) { throw new ArgumentException(); } this._antiforgeryStorage = antiforgeryStorage; this._addressStorage = addressStorage; this._container = container; }
public AuthenticationService(AntiforgeryStorage storage, AntiforgeryService antiforgeryService, AddressStorage addressStorage, AuthenticationStorage authenticationStorage, IUnityContainer container) { if (storage == null || antiforgeryService == null || addressStorage == null || authenticationStorage == null || container == null) { throw new ArgumentException(); } this._storage = storage; this._antiforgeryService = antiforgeryService; this._addressStorage = addressStorage; this._authenticationStorage = authenticationStorage; this._container = container; }