PlayEvent ICloneable <PlayEvent> .Clone() { ICloneable <Button <Page> > cloneable; var page = new PlayEvent { Title = Title, Description = Description, IsAvailableFunc = IsAvailableFunc }; foreach (var button in Buttons) { cloneable = button; page.AddButton(cloneable.Clone()); } return(page); }
public virtual void OpenEventPage(PlayEvent eventPage) { OnOpenEventPage?.Invoke(eventPage); ContextChanged(); }