mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
27 lines
848 B
C#
27 lines
848 B
C#
![]() |
using Orchard.ContentManagement;
|
|||
|
using System;
|
|||
|
|
|||
|
namespace Orchard.Users.Models {
|
|||
|
public class RegistrationSettingsPart : ContentPart<RegistrationSettingsPartRecord> {
|
|||
|
public bool UsersCanRegister {
|
|||
|
get { return Record.UsersCanRegister; }
|
|||
|
set { Record.UsersCanRegister = value; }
|
|||
|
}
|
|||
|
|
|||
|
public bool UsersMustValidateEmail {
|
|||
|
get { return Record.UsersMustValidateEmail; }
|
|||
|
set { Record.UsersMustValidateEmail = value; }
|
|||
|
}
|
|||
|
|
|||
|
public bool UsersAreModerated {
|
|||
|
get { return Record.UsersAreModerated; }
|
|||
|
set { Record.UsersAreModerated = value; }
|
|||
|
}
|
|||
|
|
|||
|
public bool NotifyModeration {
|
|||
|
get { return Record.NotifyModeration; }
|
|||
|
set { Record.NotifyModeration = value; }
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|