示例#1
0
        static public bool IsSetAndGetPublic(this PropInfoEX item)
        {
            if (item.IsSetPublic() && item.IsGetPublic())
            {
                return(true);
            }

            return(false);
        }
示例#2
0
        static public bool CanSetAndGet(this PropInfoEX item)
        {
            if (item.CanSet() && item.CanGet())
            {
                return(true);
            }

            return(false);
        }
示例#3
0
 static public ILProp GetILProp(this ILValue item, PropInfoEX prop)
 {
     return(prop.IfNotNull(p => new ILProp(item, p)));
 }
示例#4
0
 static public ILProp GetILProp(this MethodBase item, PropInfoEX prop)
 {
     return(item.GetILThis().GetILProp(prop));
 }
示例#5
0
 public ILProp(ILValue t, PropInfoEX p)
 {
     target = t;
     prop   = p;
 }