Class AlternativeFormInfoProviderExtensions
- Namespace
- CMS.FormEngine
- Assembly
- CMS.FormEngine.dll
Contains extension methods for AlternativeFormInfo's IInfoProvider<TInfo>.
public static class AlternativeFormInfoProviderExtensions
- Inheritance
-
objectAlternativeFormInfoProviderExtensions
Methods
Get(IInfoProvider<AlternativeFormInfo>, string)
Gets an instance of AlternativeFormInfo based on its full name.
public static AlternativeFormInfo Get(this IInfoProvider<AlternativeFormInfo> infoProvider, string fullName)
Parameters
infoProvider
IInfoProvider<AlternativeFormInfo>AlternativeFormInfo provider to use to retrieve the info object.
fullName
stringFull name of the alternative form to look for.
Returns
Exceptions
- ArgumentNullException
Thrown when
infoProvider
is null.