Exemplo n.º 1
0
 private void Analyze(object @object, IReflectClass claxx, int depth, List4 parentPath
                      )
 {
     if (depth < 0)
     {
         return;
     }
     ReflectorUtils.ForEachField(claxx, new _IProcedure4_130(this, parentPath, claxx,
                                                             @object, depth));
 }
Exemplo n.º 2
0
 private static IReflectField FieldByFieldName(object expression)
 {
     if (expression is string)
     {
         IReflectField field = ReflectorUtils.Field(((IReflectClass)_context.Value), (string
                                                                                      )expression);
         if (field != null)
         {
             return(field);
         }
     }
     throw new QLinException("expression can not be mapped to a field");
 }
Exemplo n.º 3
0
 internal IReflectClass ReflectorFor(object clazz)
 {
     return(ReflectorUtils.ReflectClassFor(Reflector(), clazz));
 }
Exemplo n.º 4
0
 /// <summary>sets the context for the next query on this thread.</summary>
 /// <remarks>
 /// sets the context for the next query on this thread.
 /// This method should never have to be called manually.
 /// The framework should set the context up.
 /// </remarks>
 public static void Context(Type clazz)
 {
     _context.Value = ReflectorUtils.ReflectClassFor(_prototypes.Reflector(), clazz);
 }
Exemplo n.º 5
0
 private IReflectClass ReflectClass()
 {
     return(ReflectorUtils.ReflectClassFor(objectContainer.Reflector(), this._enclosing
                                           ._clazz));
 }