Exemplo n.º 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; 
		}
Exemplo n.º 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)); 
		}
Exemplo n.º 3
0
		AbsoluteTopicName[] IEditServiceProxy.GetAllTopics(ContentBase cb)
		{
			return base.GetAllTopics(cb); 
		}
Exemplo n.º 4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetAllTopics(ContentBase cb, System.AsyncCallback callback, object asyncState) {
     return this.BeginInvoke("GetAllTopics", new object[] {
                 cb}, callback, asyncState);
 }
Exemplo n.º 5
0
 public AbsoluteTopicName[] GetAllTopics(ContentBase cb) {
     object[] results = this.Invoke("GetAllTopics", new object[] {
                 cb});
     return ((AbsoluteTopicName[])(results[0]));
 }