示例#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);
        }
示例#2
0
 public virtual void OpenEventPage(PlayEvent eventPage)
 {
     OnOpenEventPage?.Invoke(eventPage);
     ContextChanged();
 }