protected Task On(ContentUnpublished @event, EnvelopeHeaders headers) { return(ForSchemaIdAsync(@event.SchemaId.Id, collection => { return collection.UpdateAsync(@event, headers, x => { x.IsPublished = false; }); })); }
protected void On(ContentUnpublished @event) { isPublished = false; }