// Token: 0x06000364 RID: 868 RVA: 0x00009518 File Offset: 0x00008518 public static string GetTypeDictionary(ItemIdentifier itemID) { if (itemID == null) { return(null); } string result; lock (typeof(ComplexTypeCache)) { string text = (string)ComplexTypeCache.m_dictionaries[itemID.Key]; if (text != null) { result = text; } else { ComplexItem complexItem = ComplexTypeCache.GetComplexItem(itemID); if (complexItem != null) { text = complexItem.GetTypeDictionary(ComplexTypeCache.m_server); } result = text; } } return(result); }
// Token: 0x06000365 RID: 869 RVA: 0x0000958C File Offset: 0x0000858C public static string GetTypeDescription(ItemIdentifier itemID) { if (itemID == null) { return(null); } string result; lock (typeof(ComplexTypeCache)) { string text = null; ComplexItem complexItem = ComplexTypeCache.GetComplexItem(itemID); if (complexItem != null) { text = (string)ComplexTypeCache.m_descriptions[complexItem.TypeItemID.Key]; if (text != null) { return(text); } text = ((string)(m_descriptions[complexItem.TypeItemID.Key] = complexItem.GetTypeDescription(m_server))); } result = text; } return(result); }
// Token: 0x06000352 RID: 850 RVA: 0x00008A00 File Offset: 0x00007A00 public ComplexItem GetRootItem() { if (this.m_unconvertedItemID != null) { return(ComplexTypeCache.GetComplexItem(this.m_unconvertedItemID)); } if (this.m_unfilteredItemID != null) { return(ComplexTypeCache.GetComplexItem(this.m_unfilteredItemID)); } return(this); }
// Token: 0x06000363 RID: 867 RVA: 0x000094C4 File Offset: 0x000084C4 public static ComplexItem GetComplexItem(BrowseElement element) { if (element == null) { return(null); } ComplexItem complexItem; lock (typeof(ComplexTypeCache)) { complexItem = ComplexTypeCache.GetComplexItem(new ItemIdentifier(element.ItemPath, element.ItemName)); } return(complexItem); }