internal DiscoverableServiceDefinitionParametersContainer(CustomHashTable parametersTable) : this() { IEnumerator enumm = parametersTable.GetEnumerator(); DictionaryEntry dicentry; while (enumm.MoveNext()) { dicentry = (DictionaryEntry)enumm.Current; this.AddParameter(Convert.ToString(dicentry.Key), Convert.ToString(dicentry.Value)); } }
internal CustomList GetClientListOfConnectionsToPublications(DPE_Client client) { if (this._referenceTableOFConnectionsToPublicationsOfASTXDSSClient.ContainsKey(client.ClientID)) { CustomList list = new CustomList(); string publicationName = ""; IEnumerator enumm = default(IEnumerator); CustomHashTable table = (CustomHashTable)this._referenceTableOFConnectionsToPublicationsOfASTXDSSClient[client.ClientID]; enumm = table.GetEnumerator(); while (enumm.MoveNext()) { publicationName = System.Convert.ToString(((DictionaryEntry)enumm.Current).Key); list.Add(publicationName); } return(list); } else { //returns an empty list becuase the cliebt is not conencyed to any publication return(new CustomList()); } }
internal DiscoverableServiceDefinitionParametersContainerEnumerator(CustomHashTable parametersTable) { this._enumerator = parametersTable.GetEnumerator(); }
internal P2PDataAttributesTableEnumerator(CustomHashTable attrList) { this._enumerator = attrList.GetEnumerator(); }