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

            return EditAsync(contentPart, buildEditorContext);
        }