示例#1
0
 protected override async Task UpdateContentByAsync(IContentUpdate <DeviceHeaderEntity> update)
 {
     Header = await update.ContentTask;
     var stateUpdate = update.CreateUpdateFromContent(_ => Header.State, this);
     await StateContainer.ApplyContentUpdateByAsync(stateUpdate);
 }