public StartResponse(DishwasherService service, Session session) { if (service == null) { throw new ArgumentNullException(nameof(service)); } if (session == null) { throw new ArgumentNullException(nameof(session)); } this._service = service; this._session = session; }
public RetrieveStateResponse(DishwasherService service, Session session, Intent intent) { if (service == null) { throw new ArgumentNullException(nameof(service)); } if (session == null) { throw new ArgumentNullException(nameof(session)); } if (intent == null) { throw new ArgumentNullException(nameof(intent)); } this._service = service; this._session = session; this._intent = intent; }
public SpeechletFactory(Session session) { this._session = session ?? throw new ArgumentNullException(nameof(session)); this._service = new DishwasherService(new TableStorageDishwasherRepository()); }