using System.Collections.Generic;

namespace Glimpse.Core.Framework
{
    public class GlimpseMetadata
    {
        public GlimpseMetadata()
        {
            Plugins = new Dictionary<string, PluginMetadata>();

            Resources = new Dictionary<string, string>//TODO: once the resources below are implemented, this constructor should just instantiate variable.
                        {
                            {"glimpse_packageUpdates", "//getGlimpse.com/{?packages*}"},
                            {"paging", "NEED TO IMPLMENT RESOURCE Pager"},//TODO: Implement resource
                            {"tab", "NEED TO IMPLMENT RESOURCE test-popup.html"},//TODO: Implement resource
                        };
        }

        public string Version { get; set; }
        public IDictionary<string,PluginMetadata> Plugins { get; set; }
        public IDictionary<string,string> Resources { get; set; }
    }

    public class PluginMetadata
    {
        public string DocumentationUri { get; set; }
        public bool HasMetadata { get { return !string.IsNullOrEmpty(DocumentationUri); } }
    }
}
using System.Collections.Generic;

namespace Glimpse.Core.Framework
{
    public class GlimpseMetadata
    {
        public GlimpseMetadata()
        {
            Plugins = new Dictionary<string, PluginMetadata>();

            Resources = new Dictionary<string, string>//TODO: once the resources below are implemented, this constructor should just instantiate variable.
                        {
                            {"paging", "NEED TO IMPLMENT RESOURCE Pager"},//TODO: Implement resource
                            {"tab", "NEED TO IMPLMENT RESOURCE test-popup.html"},//TODO: Implement resource
                        };
        }

        public string Version { get; set; }
        public IDictionary<string,PluginMetadata> Plugins { get; set; }
        public IDictionary<string,string> Resources { get; set; }
    }

    public class PluginMetadata
    {
        public string DocumentationUri { get; set; }
        public bool HasMetadata { get { return !string.IsNullOrEmpty(DocumentationUri); } }
    }
}
Package updates is now fully implemented
Package updates is now fully implemented
