[]
Loads all themes from an assembly, and registeres them for use by theme controllers in the current application.
This method scans all resources in the specified assembly, and selects those with names ending in ".c1theme" (case insensitive). If a theme cannot be loaded (e.g. due to a duplicate name or other error), it is skipped (i.e. no exception is thrown).
public static string[] RegisterThemes(Assembly assembly)
Type | Name | Description |
---|---|---|
Assembly | assembly | The assembly to load/register themes from. |
Type | Description |
---|---|
string[] | The array of names of all loaded/registered themes. |