public virtual Task UpdatedAsync(UpdateContentContext context, TPart instance) => Task.CompletedTask;
예제 #2
0
 public virtual Task UpdatedAsync(UpdateContentContext context)
 {
     return(Task.CompletedTask);
 }
예제 #3
0
 public virtual void Updated(UpdateContentContext context, TPart instance)
 {
 }
예제 #4
0
 Task IContentPartHandler.UpdatedAsync(UpdateContentContext context, ContentPart part)
 {
     return(part is TPart tpart
         ? UpdatedAsync(context, tpart)
         : Task.CompletedTask);
 }