Class SiteNamedOptions<TOptions>
- Namespace
- Oqtane.Infrastructure
- Assembly
- Oqtane.Server.dll
public class SiteNamedOptions<TOptions> : ISiteNamedOptions<TOptions> where TOptions : class, new()
Type Parameters
TOptions
- Inheritance
-
object
SiteNamedOptions<TOptions>
- Implements
-
Constructors
SiteNamedOptions(string, Action<TOptions, Alias, Dictionary<string, string>>)
public SiteNamedOptions(string name, Action<TOptions, Alias, Dictionary<string, string>> configureOptions)
Parameters
name
string
configureOptions
Action<TOptions, Alias, Dictionary<string, string>>
Properties
Name
public string Name { get; }
Property Value
- string
Methods
public void Configure(string name, TOptions options, Alias alias, Dictionary<string, string> sitesettings)
Parameters
name
string
options
TOptions
alias
Alias
sitesettings
Dictionary<string, string>