public OverlayLeaderboardListItemViewModel(OverlayLeaderboardListItemModel item)
     : base(item.TotalToShow, 0, item.Width, item.Height, item.TextFont, item.TextColor, item.BorderColor, item.BackgroundColor, item.Alignment, item.Effects.EntranceAnimation, item.Effects.ExitAnimation, item.HTML)
 {
     this.newLeaderCommand = item.NewLeaderCommand;
     this.leaderboardType  = item.LeaderboardType;
     if (this.leaderboardType == OverlayLeaderboardListItemTypeEnum.CurrencyRank)
     {
         if (ChannelSession.Settings.Currencies.ContainsKey(item.CurrencyID))
         {
             this.CurrencyRank = ChannelSession.Settings.Currencies[item.CurrencyID];
         }
     }
     else if (this.leaderboardType == OverlayLeaderboardListItemTypeEnum.Sparks || this.leaderboardType == OverlayLeaderboardListItemTypeEnum.Embers)
     {
         this.sparksEmbersDate = item.LeaderboardDateRange;
     }
 }
 public OverlayLeaderboardListItemModel(string htmlText, OverlayLeaderboardListItemTypeEnum leaderboardType, int totalToShow, string textFont, int width, int height, string borderColor,
                                        string backgroundColor, string textColor, OverlayListItemAlignmentTypeEnum alignment, OverlayItemEffectEntranceAnimationTypeEnum addEventAnimation,
                                        OverlayItemEffectExitAnimationTypeEnum removeEventAnimation, OverlayLeaderboardListItemDateRangeEnum dateRange, CustomCommand newLeaderCommand)
     : this(htmlText, leaderboardType, totalToShow, textFont, width, height, borderColor, backgroundColor, textColor, alignment, addEventAnimation, removeEventAnimation, newLeaderCommand)
 {
     this.LeaderboardDateRange = dateRange;
 }