RE 5
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
namespace zero.Configuration;
|
||||
|
||||
public class IconOptions : OptionsEnumerable<IconSet>, IOptionsEnumerable
|
||||
{
|
||||
/// <summary>
|
||||
/// Add a new backoffice icon set
|
||||
/// </summary>
|
||||
/// <param name="alias">Alias for reference</param>
|
||||
/// <param name="name">Name of the icon set</param>
|
||||
/// <param name="spritePath">Path to the SVG sprite containing addressable symbols</param>
|
||||
/// <param name="prefix">Optional symbol identifier prefix (by default the alias is used)</param>
|
||||
public void AddSet(string alias, string name, string spritePath, string prefix = null)
|
||||
{
|
||||
Items.Add(new IconSet()
|
||||
{
|
||||
Alias = alias,
|
||||
Name = name,
|
||||
SpritePath = spritePath,
|
||||
Prefix = prefix ?? alias
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
namespace zero.Configuration;
|
||||
|
||||
public class ServiceOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Define a YouTube API Key so the zero videopicker can display previews
|
||||
/// </summary>
|
||||
public string YouTubeApiKey { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user