ConfigurationModel Class

Namespace:
Weavy.Web.Models
Assembly:
Weavy.Web.dll

Model for collecting configuring settings during setup.

public class ConfigurationModel
Inheritance:
System.Object → ConfigurationModel

Constructors

ConfigurationModel() Initializes a new instance of the ConfigurationModel class.

Properties

Email Gets or sets the email of the first user.
LicenseKey Gets or sets the license key to use when installing.
Name Gets or sets the name of the first user.
Password Gets or sets the password to set for the first user.
ThemeColor Gets or sets the themecolor to set during setup.
ThemeLogoUrl Gets or sets the url to the theme icon to download and configure.
ThemeName Gets or sets the name of the theme e.i. the installation.
Username Gets or sets the username to set for the first user.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.