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 }); }
public void MergeFrom(Typing.KeyPressEvent from) { _ = from; throw new InvalidOperationException("KeyPressEvent entity is immutable."); }