public void DeserializeCloseTabEvent() { /* GIVEN */ var deserialized = new CloseTabEvent(); /* WHEN */ deserialized.Deserialize(serializedEvent); /* THEN */ TestCommonAttributes(deserialized); }
add => AddHandler(CloseTabEvent, value);
remove => RemoveHandler(CloseTabEvent, value);
/// <summary> /// Обработчик команды закрытия вкадки /// </summary> void OnCloseTab() { Browser.Dispose(); CloseTabEvent?.Invoke(this); }