public override T GetObject <T>(string key)
        {
            T y = (T)nfo.GetProperty(userObject, key);

            //in C# could not compare y == default(y)
            //so cast y to Object to do so
            if (((object)y) == null && !nfo.ContainsProperty(key) && extra != null)
            {
                y = (T)Net.Vpc.Upa.Impl.FwkConvertUtils.GetMapValue <string, object>(extra, key);
            }
            return(y);
        }
Exemple #2
0
 public virtual bool ContainsProperty(string property)
 {
     return(beanType.ContainsProperty(property));
 }