private EZData.Property<string> GetDisplayValueProperty(EZData.Context item)
	{
		if (item == null)
			return null;
		
		EZData.Property<string> property = null;
		if (_displayValuesCache.TryGetValue(item, out property))
			return property;
		property = item.FindProperty<string>(DisplayValuePath, this);
		if (property != null)
			_displayValuesCache.Add(item, property);
		return property;
	}
示例#2
0
 public EZData.Property <T> FindProperty <T>(string path, NguiBaseBinding binding)
 {
     if (_context == null)
     {
         return(null);
     }
     try
     {
         return(_context.FindProperty <T>(binding.GetFullCleanPath(path), binding));
     }
     catch (Exception ex)
     {
         Debug.LogError("Failed to find property " + path + "\n" + ex);
         return(null);
     }
 }
示例#3
0
 public Property <T> FindProperty <T>(string path, IBinding binding)
 {
     return(Context.FindProperty <T>(this, path, binding));
 }