public DuckMemberSyntaxFactory(IDuckContext context) : base(context.InterfaceType)
            {
                Context = context;

                TARGET = Context
                         .BaseType
                         .Properties
                         .Single(prop => prop.Name == nameof(DuckBase <object> .Target));
            }
Esempio n. 2
0
 public EventInterceptorFactory(IDuckContext context) : base(context)
 {
 }
Esempio n. 3
0
 public MethodInterceptorFactory(IDuckContext context) : base(context)
 {
 }
Esempio n. 4
0
 public ConstructorFactory(IDuckContext context) : base(context.InterfaceType) =>
 public PropertyInterceptorFactory(IDuckContext context) : base(context)
 {
 }