Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public virtual void OpenEventPage(PlayEvent eventPage)
 {
     OnOpenEventPage?.Invoke(eventPage);
     ContextChanged();
 }