public virtual Task<IDisplayResult> UpdateAsync(ContentPart part, BuildPartEditorContext context) { return UpdateAsync(part, context.Updater); }
public virtual Task<IDisplayResult> EditAsync(ContentPart part, BuildPartEditorContext context) { return Task.FromResult(Edit(part, context)); }
public virtual IDisplayResult Edit(ContentPart part, BuildPartEditorContext context) { return Edit(part); }
Task<IDisplayResult> IContentPartDisplayDriver.BuildEditorAsync(ContentPart contentPart, ContentTypePartDefinition typePartDefinition, BuildEditorContext context) { var buildEditorContext = new BuildPartEditorContext(typePartDefinition, context); return EditAsync(contentPart, buildEditorContext); }