Ejemplo n.º 1
0
 public override SetMemberDelegate CreateSetter(PropertyInfo propertyInfo)
 {
     return
         (SupportsEmit ? PropertyInvoker.SetEmit(propertyInfo) :
          SupportsExpression
             ? PropertyInvoker.SetExpression(propertyInfo)
             : base.CreateSetter(propertyInfo));
 }
Ejemplo n.º 2
0
 public override GetMemberDelegate <T> CreateGetter <T>(PropertyInfo propertyInfo)
 {
     return
         (SupportsEmit ? PropertyInvoker.GetEmit <T>(propertyInfo) :
          SupportsExpression
             ? PropertyInvoker.GetExpression <T>(propertyInfo)
             : base.CreateGetter <T>(propertyInfo));
 }
Ejemplo n.º 3
0
 public override MemberSetter CreateSetter(PropertyInfo propertyInfo)
 {
     return
         (SupportsEmit ? PropertyInvoker.CreateEmitSetter(propertyInfo) :
          SupportsExpression
             ? PropertyInvoker.CreateExpressionSetter(propertyInfo)
             : base.CreateSetter(propertyInfo));
 }
Ejemplo n.º 4
0
 public override MemberGetter <T> CreateGetter <T>(PropertyInfo propertyInfo)
 {
     return
         (SupportsEmit ? PropertyInvoker <T> .CreateEmitGetter(propertyInfo) :
          SupportsExpression
             ? PropertyInvoker <T> .CreateExpressionGetter(propertyInfo)
             : base.CreateGetter <T>(propertyInfo));
 }
Ejemplo n.º 5
0
        public override GetMemberDelegate CreateGetter(PropertyInfo propertyInfo)
        {
            return
                (#if NET472
                 this.SupportsEmit ? PropertyInvoker.GetEmit(propertyInfo) :
#endif
                 this.SupportsExpression
                    ? PropertyInvoker.GetExpression(propertyInfo)
                    : base.CreateGetter(propertyInfo));
        }
Ejemplo n.º 6
0
        public override SetMemberDelegate CreateSetter(PropertyInfo propertyInfo)
        {
            return
                (#if NETSTANDARD2_0
                 SupportsEmit ? PropertyInvoker.SetEmit(propertyInfo) :
#endif
                 SupportsExpression
                    ? PropertyInvoker.SetExpression(propertyInfo)
                    : base.CreateSetter(propertyInfo));
        }
Ejemplo n.º 7
0
        public override GetMemberDelegate <T> CreateGetter <T>(PropertyInfo propertyInfo)
        {
            return
                (#if NETSTANDARD2_0
                 SupportsEmit ? PropertyInvoker.GetEmit <T>(propertyInfo) :
#endif
                 SupportsExpression
                    ? PropertyInvoker.GetExpression <T>(propertyInfo)
                    : base.CreateGetter <T>(propertyInfo));
        }
Ejemplo n.º 8
0
 public override SetMemberDelegate <T> CreateSetter <T>(PropertyInfo propertyInfo)
 {
     return(this.SupportsExpression
         ? PropertyInvoker.SetExpression <T>(propertyInfo)
         : base.CreateSetter <T>(propertyInfo));
 }