/// <summary>
 /// Adds the sample to the list of loadable types.
 /// </summary>
 /// <param name="key">The key of the item.</param>
 /// <param name="item">The item to add.</param>
 public static void AddSample(string key, IXmlLoadable item)
 {
     AddSample(key, item.GetType());
 }
        /// <summary>
        /// Adds the sample to the list of loadable types.
        /// </summary>
        /// <param name="item">The item to add.</param>
        public static void AddSample(IXmlLoadable item)
        {
            var type = item.GetType();

            AddSample(type.Name, type);
        }