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

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