Formats the extension whitelist appropriate for display to an end user
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public string ToDisplayString( IEnumerable<string> additionalExtensions ) |
Visual Basic |
---|
Public Function ToDisplayString ( additionalExtensions As IEnumerable(Of String) ) As String |
Parameters
- additionalExtensions
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>
A list of additionalExtensions to add to the current extensions
Return Value
A String of the whitelist extensions formatted for storage display to an end user
Remarks
additionalExtensionscase and '.' prefix will be corrected, and duplicates will be excluded from the string