/// <summary>
		/// Adds the elements of another ContentBaseCollection to the end of this ContentBaseCollection.
		/// </summary>
		/// <param name="items">
		/// The ContentBaseCollection whose elements are to be added to the end of this ContentBaseCollection.
		/// </param>
		public virtual void AddRange(ContentBaseCollection items)
		{
			foreach (ContentBase item in items)
			{
				this.List.Add(item);
			}
		}
		public WireTypes.ContentBaseCollection GetAllNamespaces()
		{
			WireTypes.ContentBaseCollection contentBases = new WireTypes.ContentBaseCollection();

			foreach (ContentBase cb in TheFederation.ContentBases)
			{
        WireTypes.ContentBase wireFormat = new WireTypes.ContentBase(cb); 
				contentBases.Add(wireFormat);
			}

			return contentBases;
		}
		/// <summary>
		/// Initializes a new instance of the ContentBaseCollection class, containing elements
		/// copied from another instance of ContentBaseCollection
		/// </summary>
		/// <param name="items">
		/// The ContentBaseCollection whose elements are to be added to the new ContentBaseCollection.
		/// </param>
		public ContentBaseCollection(ContentBaseCollection items)
		{
			this.AddRange(items);
		}
			/// <summary>
			/// 
			/// </summary>
			/// <param name="collection"></param>
			public Enumerator(ContentBaseCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}
        public WireTypes.ContentBaseCollection GetAllNamespaces()
        {
            WireTypes.ContentBaseCollection contentBases = new WireTypes.ContentBaseCollection();

            foreach (NamespaceManager namespaceManager in Federation.NamespaceManagers)
            {
                WireTypes.ContentBase wireFormat = new WireTypes.ContentBase(namespaceManager);
                contentBases.Add(wireFormat);
            }

            return contentBases;
        }