コード例 #1
0
 /// <summary>
 /// Gets the list of units friendly names, which name starts with the given namespace prefixed with local namespace (prefix to the real unit name)
 /// </summary>
 /// <param name="namespaceId">The namespace id.</param>
 /// <returns>
 /// Enumarable of units which real name starts with the given namespace
 /// </returns>
 public IEnumerable<string> GetUnits(string namespaceId)
 {
     return m_workspace.GetUnits(namespaceId);
 }
コード例 #2
0
 /// <summary>
 /// Gets the list of units short names, which name starts with the given namespace prefixed with local namespace (prefix to the real unit name)
 /// </summary>
 /// <param name="namespaceId">The namespace id.</param>
 /// <returns>
 /// Enumarable of units which real name starts with the given namespace
 /// </returns>
 public IEnumerable <string> GetUnits(string namespaceId)
 {
     return(m_parentWorkspace.GetUnits(GetFullNamespacePath(namespaceId)));
 }