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;
        }
		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;
		}