예제 #1
0
                public DeleteRevisionsCommand(DocumentConventions conventions, JsonOperationContext context, AdminRevisionsHandler.Parameters parameters)
                {
                    if (conventions == null)
                    {
                        throw new ArgumentNullException(nameof(conventions));
                    }
                    if (context == null)
                    {
                        throw new ArgumentNullException(nameof(context));
                    }
                    if (parameters == null)
                    {
                        throw new ArgumentNullException(nameof(parameters));
                    }

                    _parameters = EntityToBlittable.ConvertCommandToBlittable(parameters, context);
                }
예제 #2
0
 public DeleteRevisionsOperation(AdminRevisionsHandler.Parameters parameters)
 {
     _parameters = parameters;
 }