/// <summary> /// See <see cref="IConvertRegistrations{TSource, TTarget, TConvertIntention}.DoRegistrations"/>. /// </summary> public void DoRegistrations(IConvertRegistration <SourceRoot, TargetRoot> registrations) { registrations.NotNull(nameof(registrations)); registrations.RegisterCreateToOneWithRelation( x => x.Tree, x => x.TargetTree, (x, y) => y.RelationOnTarget, this.convertHelperFactory.GetConvertHelper(x => x.RelationOnTarget)); }