public void ContentTypeRemoved(ContentTypeRemovedContext context)
        {
            _logger.LogInformation("User wants to delete content type {ContentType}.",
                                   context.ContentTypeDefinition.Name);

            _contentTypeOrchestrator.DeleteItemsOfType(context.ContentTypeDefinition.Name)
            .GetAwaiter().GetResult();
        }
 public void ContentTypeRemoved(ContentTypeRemovedContext context)
 {
 }
 public void ContentTypeRemoved(ContentTypeRemovedContext context) {
 }
 public void ContentTypeRemoved(ContentTypeRemovedContext context) {
     RecordContentTypeAuditTrailEvent(ContentTypeAuditTrailEventProvider.Removed, context.ContentTypeDefinition);
 }
Exemple #5
0
 public void ContentTypeRemoved(ContentTypeRemovedContext context)
 {
     RecordContentTypeAuditTrailEvent(ContentTypeAuditTrailEventProvider.Removed, context.ContentTypeDefinition);
 }