Example #1
0
		public ContentBase[] GetAllNamespaces()
		{
			ContentBase[] cbs = new ContentBase[namespaces.Count]; 

			int i = 0; 
			foreach (string ns in namespaces.Keys)
			{
				cbs[i] = new ContentBase(); 
				cbs[i].Namespace = ns; 
				++i; 
			}
			return cbs; 
		}
Example #2
0
		public AbsoluteTopicName[] GetAllTopics(ContentBase cb)
		{
			Hashtable ns = (Hashtable) namespaces[cb.Namespace]; 
		
			ArrayList atns = new ArrayList(); 

			foreach (string topic in ns.Keys)
			{
				AbsoluteTopicName atn = new AbsoluteTopicName(); 
				atn.Namespace = cb.Namespace; 
				atn.Name = topic; 
				atn.Version = GetLatestVersion((Hashtable) ns[topic]); 
				atns.Add(atn); 
			}

			return (AbsoluteTopicName[]) atns.ToArray(typeof(AbsoluteTopicName)); 
		}
Example #3
0
		AbsoluteTopicName[] IEditServiceProxy.GetAllTopics(ContentBase cb)
		{
			return base.GetAllTopics(cb); 
		}
Example #4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetAllTopics(ContentBase cb, System.AsyncCallback callback, object asyncState) {
     return this.BeginInvoke("GetAllTopics", new object[] {
                 cb}, callback, asyncState);
 }
Example #5
0
 public AbsoluteTopicName[] GetAllTopics(ContentBase cb) {
     object[] results = this.Invoke("GetAllTopics", new object[] {
                 cb});
     return ((AbsoluteTopicName[])(results[0]));
 }