Table of Contents

Class LoginOptions

Namespace
H.Modules.Login
Assembly
H.Modules.Login.dll
[Display(Name = "登录页面设置", GroupName = "系统设置", Description = "登录页面设置的信息")]
public class LoginOptions : IocOptionInstance<LoginOptions>, INotifyPropertyChanged, IDisplayBindable, IIconable, IDable, IDescriptionable, ISettable, INameable, IOrderable, IGroupable, ILoadable, ISaveable, IDefaultable, IClearable, IOptions<LoginOptions>, ILoginOptions
Inheritance
LoginOptions
Implements
Inherited Members
Extension Methods

Properties

AdminName

[Required]
[Display(Name = "管理员账号")]
public string AdminName { get; set; }

Property Value

string

AdminPassword

[JsonIgnore]
[Browsable(false)]
[Required]
[Display(Name = "管理员密码")]
public string AdminPassword { get; set; }

Property Value

string

LastPassword

[Browsable(false)]
[Display(Name = "上次登录密码")]
public string LastPassword { get; set; }

Property Value

string

LastUserName

[Display(Name = "上次登录用户")]
public string LastUserName { get; set; }

Property Value

string

Product

[Display(Name = "登录标题")]
public string Product { get; set; }

Property Value

string

ProductFontSize

[Display(Name = "字体大小")]
public double ProductFontSize { get; set; }

Property Value

double

Remember

[Display(Name = "记住密码")]
public bool Remember { get; set; }

Property Value

bool

UseVisitor

[Display(Name = "启用访客", Description = "启用访客模式后登录不成功也可以进入主窗口")]
public bool UseVisitor { get; set; }

Property Value

bool

Methods

Load(out string)

public override bool Load(out string message)

Parameters

message string

Returns

bool

LoadDefault()

加载默认值。

public override void LoadDefault()

Save(out string)

public override bool Save(out string message)

Parameters

message string

Returns

bool