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