Пример #1
0
 public static KeyPressEvent ToDbo(Typing.KeyPressEvent state, string textTypingResultId, int order)
 {
     return(new KeyPressEvent
     {
         Id = 0,
         Order = order,
         Index = state.Index,
         KeyAction = state.KeyAction,
         Key = state.Key,
         AbsoluteDelay = state.AbsoluteDelay,
         TextTypingResultId = textTypingResultId
     });
 }
Пример #2
0
 public void MergeFrom(Typing.KeyPressEvent from)
 {
     _ = from;
     throw new InvalidOperationException("KeyPressEvent entity is immutable.");
 }