public SelectionListResponse(JSelectionListResponse jResponce)
        {
            if (jResponce == null)
            {
                Results = new ISelectionListResult[0];
                return;
            }

            Count    = jResponce.Count;
            Next     = jResponce.Next;
            Previous = jResponce.Previous;
            Results  = jResponce.Results.Select(r => new SelectionListResult(r));
        }
        public SelectionNodeViewModel(ISelectionListResult result, IDataSource dataSource)
        {
            if (result == null)
            {
                return;
            }

            _dataSource = dataSource;
            Id          = result.Id;
            Title       = result.Title.GetNormalString();

            if (result.PublicationDate.HasValue)
            {
                var format = ResourcesHelper.GetLocalizationString("PublishedAtStringFormat");
                Date = string.Format(format, result.PublicationDate.Value.ToString("g"));
            }
        }