Exemple #1
0
        public ChangesResponseFactory(ISerializer serializer)
        {
            Ensure.Any.IsNotNull(serializer, nameof(serializer));

            SuccessfulResponseMaterializer = new ChangesResponseMaterializer(serializer);
            FailedResponseMaterializer     = new FailedResponseMaterializer(serializer);
        }
        public ContinuousChangesResponseFactory(ISerializer serializer)
        {
            Ensure.Any.IsNotNull(serializer, nameof(serializer));

            FailedResponseMaterializer = new FailedResponseMaterializer(serializer);
        }