public IndexListResponseFactory(ISerializer serializer) { Ensure.That(serializer, "serializer").IsNotNull(); SuccessfulResponseMaterializer = new SimpleDeserializingResponseMaterializer(serializer); FailedResponseMaterializer = new FailedResponseMaterializer(serializer); }
public GetDatabaseResponseFactory(ISerializer serializer) { Ensure.That(serializer, "serializer").IsNotNull(); SuccessfulResponseMaterializer = new SimpleDeserializingResponseMaterializer(serializer); FailedResponseMaterializer = new FailedResponseMaterializer(serializer); }
public GetDatabaseResponseFactory(ISerializer serializer) { Ensure.Any.IsNotNull(serializer, nameof(serializer)); SuccessfulResponseMaterializer = new SimpleDeserializingResponseMaterializer(serializer); FailedResponseMaterializer = new FailedResponseMaterializer(serializer); }