Skip to content

v2.3.0

Choose a tag to compare

@jamiepollock jamiepollock released this 18 Jan 18:58
· 26 commits to main since this release

This release adds optional auto DI registry of Rhythm.Drop.Umbraco.Mapping map definitions.

This is an optional feature as type loading can be expensive but a is a convenience some developers be consider worthwhile versus explicit map definition registration.

There are a number of options (all extensions are for IUmbracoBuilder);

Method Purpose
AddRhythmDropComponentMapDefinitions Adds map definitions that map to a IComponent
AddRhythmDropComponentCollectionMapDefinitions Adds map definitions that map to a collection of IComponent
AddAllRhythmDropComponentMapDefinitions Adds both of the above
AddRhythmDropLinkMapDefinitions Adds map definitions that map to a ILink
AddAllRhythmDropMapDefinitions Adds all of the above

As this system uses Umbraco's type loader concrete implementations can be ignored by using HideFromTypeFinderAttribute.