public static void RegisterCustomBindingFactory <TView>( this ITargetBindingFactoryRegistry registry, string customName, Func <TView, ITargetBinding> creator) where TView : class { registry.RegisterFactory(new CustomBindingFactory <TView>(customName, creator)); }
public static void RegisterPropertyInfoBindingFactory(this ITargetBindingFactoryRegistry registry, Type bindingType, Type targetType, string targetName) { registry.RegisterFactory(new SimplePropertyInfoTargetBindingFactory(bindingType, targetType, targetName)); }