Ejemplo n.º 1
0
        private MovieVm MovieFactory(KODIRPC.Video.Details.Movie arg)
        {
            int first = counter % 10;

            counter++;
            if (first == 0)
            {
                return(new FirstMovieVm(arg, _server));
            }
            return(new MovieVm(arg, _server));
        }
Ejemplo n.º 2
0
 public FirstMovieVm(KODIRPC.Video.Details.Movie movie, IAppContext appContext)
     : base(movie, appContext)
 {
     ColSpan = RowSpan = 2;
 }