public UpdateHandlerProxy(IDefaultHandlerFactory factory) { if (factory is null) { throw new ArgumentNullException(nameof(factory)); } handler = (IUpdateHandler <TRow, TSaveRequest, TSaveResponse>)factory.CreateHandler <ISaveRequestProcessor>(typeof(TRow)); }
public UpdatableExtensionBehavior(IDefaultHandlerFactory handlerFactory) { this.handlerFactory = handlerFactory ?? throw new ArgumentNullException(nameof(handlerFactory)); }
public LinkingSetRelationBehavior(IDefaultHandlerFactory handlerFactory) { this.handlerFactory = handlerFactory ?? throw new ArgumentNullException(nameof(handlerFactory)); }
public MasterDetailRelationBehavior(IDefaultHandlerFactory handlerFactory) { this.handlerFactory = handlerFactory ?? throw new ArgumentNullException(nameof(handlerFactory)); }
public static THandler CreateHandler <THandler>(this IDefaultHandlerFactory handlerFactory, Type rowType) { return((THandler)handlerFactory.CreateHandler(rowType, typeof(THandler))); }